Charcoal
#240A47
PurpleColor Codes
All color formats for development
HEX
#240A47RGB
rgb(36, 10, 71)HSL
hsl(266, 75%, 16%)OKLCH
oklch(0.231 0.104 296.6)CMYK
cmyk(49%, 86%, 0%, 72%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#210940
2#1D0839
3#1A0732
4#16062B
5#120524
6#0F041D
7#0B0315
8#07020E
9#040107
Tints
Lighter variations
1#38106D
2#4B1592
3#5F1AB8
4#7220DD
5#8944E4
6#A169EA
7#B88FEF
8#D0B4F4
9#E7DAFA
Tones
Muted variations
1#250D44
2#261041
3#26133E
4#26163B
5#271A38
6#271D35
7#282032
8#28232F
9#28262C
Usage Guidelines
Recommended use cases for each shade level
| Level | Color | Typical Use Cases |
|---|---|---|
| 50 | F7F2 #F7F2FD | BackgroundsSubtle highlightsCard backgrounds |
| 100 | EBE0 #EBE0FB | Light backgroundsTable row hoverSkeleton loading |
| 200 | DBC5 #DBC5F7 | Secondary backgroundsInput backgroundsDividers |
| 300 | BE98 #BE98F0 | BordersInactive statesPlaceholder text |
| 400 | 9D63 #9D63E9 | Disabled statesSecondary iconsMuted text |
| 500 | 8136 #8136E2 | Primary brand colorCTAsActive elementsLinks |
| 600 | 651C #651CC4 | Hover statesFocus ringsPrimary buttons hover |
| 700 | 5016 #50169C | Active/pressed statesDark mode accentsSecondary text |
| 800 | 3910 #391070 | Text on light backgroundsHeadingsStrong borders |
| 900 | 250A #250A47 | Primary textHigh emphasis contentDark headings |
| 950 | 1706 #17062D | Maximum contrast textDark mode backgrounds |
Export Code
Copy ready-to-use code for your project
:root {
--charcoal-50: #F7F2FD;
--charcoal-100: #EBE0FB;
--charcoal-200: #DBC5F7;
--charcoal-300: #BE98F0;
--charcoal-400: #9D63E9;
--charcoal-500: #8136E2;
--charcoal-600: #651CC4;
--charcoal-700: #50169C;
--charcoal-800: #391070;
--charcoal-900: #250A47;
--charcoal-950: #17062D;
}