Charcoal
#340B47
PurpleColor Codes
All color formats for development
HEX
#340B47RGB
rgb(52, 11, 71)HSL
hsl(281, 73%, 16%)OKLCH
oklch(0.256 0.107 312.3)CMYK
cmyk(27%, 85%, 0%, 72%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#2F0A40
2#290938
3#240831
4#1F072A
5#1A0623
6#15041C
7#100315
8#0A020E
9#050107
Tints
Lighter variations
1#4F116C
2#6A1791
3#851CB6
4#A022DB
5#B146E2
6#C06BE8
7#D090EE
8#E0B5F3
9#EFDAF9
Tones
Muted variations
1#330E44
2#321141
3#30143E
4#2F173B
5#2E1A38
6#2D1D35
7#2C2032
8#2B232F
9#2A262C
Usage Guidelines
Recommended use cases for each shade level
| Level | Color | Typical Use Cases |
|---|---|---|
| 50 | F9F2 #F9F2FD | BackgroundsSubtle highlightsCard backgrounds |
| 100 | F2E0 #F2E0FA | Light backgroundsTable row hoverSkeleton loading |
| 200 | E7C6 #E7C6F6 | Secondary backgroundsInput backgroundsDividers |
| 300 | D49A #D49AEF | BordersInactive statesPlaceholder text |
| 400 | BE65 #BE65E7 | Disabled statesSecondary iconsMuted text |
| 500 | AB38 #AB38E0 | Primary brand colorCTAsActive elementsLinks |
| 600 | 8E1E #8E1EC2 | Hover statesFocus ringsPrimary buttons hover |
| 700 | 7118 #71189A | Active/pressed statesDark mode accentsSecondary text |
| 800 | 5111 #51116E | Text on light backgroundsHeadingsStrong borders |
| 900 | 340B #340B47 | Primary textHigh emphasis contentDark headings |
| 950 | 2007 #20072C | Maximum contrast textDark mode backgrounds |
Export Code
Copy ready-to-use code for your project
:root {
--charcoal-50: #F9F2FD;
--charcoal-100: #F2E0FA;
--charcoal-200: #E7C6F6;
--charcoal-300: #D49AEF;
--charcoal-400: #BE65E7;
--charcoal-500: #AB38E0;
--charcoal-600: #8E1EC2;
--charcoal-700: #71189A;
--charcoal-800: #51116E;
--charcoal-900: #340B47;
--charcoal-950: #20072C;
}