Charcoal
#310949
PurpleColor Codes
All color formats for development
HEX
#310949RGB
rgb(49, 9, 73)HSL
hsl(278, 78%, 16%)OKLCH
oklch(0.251 0.111 308.6)CMYK
cmyk(33%, 88%, 0%, 71%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#2C0841
2#27073A
3#230633
4#1E052C
5#190424
6#14041D
7#0F0316
8#0A020F
9#050107
Tints
Lighter variations
1#4B0E6F
2#651295
3#7F17BB
4#991CE1
5#AA40E7
6#BB66EC
7#CC8DF1
8#DDB3F6
9#EED9FA
Tones
Muted variations
1#300C45
2#300F42
3#2F133F
4#2E163C
5#2D1939
6#2C1C36
7#2B1F32
8#2A222F
9#2A262C
Usage Guidelines
Recommended use cases for each shade level
| Level | Color | Typical Use Cases |
|---|---|---|
| 50 | F9F1 #F9F1FD | BackgroundsSubtle highlightsCard backgrounds |
| 100 | F1DF #F1DFFB | Light backgroundsTable row hoverSkeleton loading |
| 200 | E5C4 #E5C4F8 | Secondary backgroundsInput backgroundsDividers |
| 300 | D197 #D197F2 | BordersInactive statesPlaceholder text |
| 400 | B860 #B860EB | Disabled statesSecondary iconsMuted text |
| 500 | A433 #A433E6 | Primary brand colorCTAsActive elementsLinks |
| 600 | 8819 #8819C8 | Hover statesFocus ringsPrimary buttons hover |
| 700 | 6C14 #6C149F | Active/pressed statesDark mode accentsSecondary text |
| 800 | 4D0E #4D0E71 | Text on light backgroundsHeadingsStrong borders |
| 900 | 3109 #310949 | Primary textHigh emphasis contentDark headings |
| 950 | 1F06 #1F062D | Maximum contrast textDark mode backgrounds |
Export Code
Copy ready-to-use code for your project
:root {
--charcoal-50: #F9F1FD;
--charcoal-100: #F1DFFB;
--charcoal-200: #E5C4F8;
--charcoal-300: #D197F2;
--charcoal-400: #B860EB;
--charcoal-500: #A433E6;
--charcoal-600: #8819C8;
--charcoal-700: #6C149F;
--charcoal-800: #4D0E71;
--charcoal-900: #310949;
--charcoal-950: #1F062D;
}