Charcoal
#340849
PurpleColor Codes
All color formats for development
HEX
#340849RGB
rgb(52, 8, 73)HSL
hsl(281, 80%, 16%)OKLCH
oklch(0.255 0.113 311.5)CMYK
cmyk(29%, 89%, 0%, 71%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#2F0742
2#2A073B
3#250633
4#20052C
5#1A0425
6#15031D
7#100216
8#0B020F
9#050107
Tints
Lighter variations
1#500C70
2#6C1197
3#8815BD
4#A419E4
5#B33EEA
6#C265EE
7#D28BF2
8#E1B2F6
9#F0D8FB
Tones
Muted variations
1#340B46
2#320F43
3#311240
4#30153C
5#2F1839
6#2E1C36
7#2C1F33
8#2B222F
9#2A262C
Usage Guidelines
Recommended use cases for each shade level
| Level | Color | Typical Use Cases |
|---|---|---|
| 50 | FAF1 #FAF1FD | BackgroundsSubtle highlightsCard backgrounds |
| 100 | F2DF #F2DFFB | Light backgroundsTable row hoverSkeleton loading |
| 200 | E8C3 #E8C3F8 | Secondary backgroundsInput backgroundsDividers |
| 300 | D695 #D695F3 | BordersInactive statesPlaceholder text |
| 400 | C05E #C05EED | Disabled statesSecondary iconsMuted text |
| 500 | AE30 #AE30E8 | Primary brand colorCTAsActive elementsLinks |
| 600 | 9116 #9116CA | Hover statesFocus ringsPrimary buttons hover |
| 700 | 7312 #7312A1 | Active/pressed statesDark mode accentsSecondary text |
| 800 | 520D #520D73 | Text on light backgroundsHeadingsStrong borders |
| 900 | 3508 #350849 | Primary textHigh emphasis contentDark headings |
| 950 | 2105 #21052E | Maximum contrast textDark mode backgrounds |
Export Code
Copy ready-to-use code for your project
:root {
--charcoal-50: #FAF1FD;
--charcoal-100: #F2DFFB;
--charcoal-200: #E8C3F8;
--charcoal-300: #D695F3;
--charcoal-400: #C05EED;
--charcoal-500: #AE30E8;
--charcoal-600: #9116CA;
--charcoal-700: #7312A1;
--charcoal-800: #520D73;
--charcoal-900: #350849;
--charcoal-950: #21052E;
}