Black
#18042F
PurpleColor Codes
All color formats for development
HEX
#18042FRGB
rgb(24, 4, 47)HSL
hsl(268, 84%, 10%)OKLCH
oklch(0.18 0.081 299.9)CMYK
cmyk(49%, 91%, 0%, 82%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#16042A
2#130326
3#110321
4#0E021C
5#0C0217
6#0A0213
7#07010E
8#050109
9#020005
Tints
Lighter variations
1#2E0859
2#430B83
3#590FAE
4#6F13D8
5#862CED
6#9E56F0
7#B680F4
8#CFABF8
9#E7D5FB
Tones
Muted variations
1#18062D
2#18082B
3#190B28
4#190D26
5#190F24
6#191122
7#191320
8#19151E
9#19171C
Usage Guidelines
Recommended use cases for each shade level
| Level | Color | Typical Use Cases |
|---|---|---|
| 50 | F7F1 #F7F1FE | BackgroundsSubtle highlightsCard backgrounds |
| 100 | ECDE #ECDEFC | Light backgroundsTable row hoverSkeleton loading |
| 200 | DCC2 #DCC2FA | Secondary backgroundsInput backgroundsDividers |
| 300 | C193 #C193F6 | BordersInactive statesPlaceholder text |
| 400 | A15B #A15BF1 | Disabled statesSecondary iconsMuted text |
| 500 | 862C #862CED | Primary brand colorCTAsActive elementsLinks |
| 600 | 6A12 #6A12CE | Hover statesFocus ringsPrimary buttons hover |
| 700 | 540E #540EA4 | Active/pressed statesDark mode accentsSecondary text |
| 800 | 3C0A #3C0A75 | Text on light backgroundsHeadingsStrong borders |
| 900 | 2707 #27074B | Primary textHigh emphasis contentDark headings |
| 950 | 1804 #18042F | Maximum contrast textDark mode backgrounds |
Export Code
Copy ready-to-use code for your project
:root {
--black-50: #F7F1FE;
--black-100: #ECDEFC;
--black-200: #DCC2FA;
--black-300: #C193F6;
--black-400: #A15BF1;
--black-500: #862CED;
--black-600: #6A12CE;
--black-700: #540EA4;
--black-800: #3C0A75;
--black-900: #27074B;
--black-950: #18042F;
}