Black
#18052E
PurpleColor Codes
All color formats for development
HEX
#18052ERGB
rgb(24, 5, 46)HSL
hsl(268, 80%, 10%)OKLCH
oklch(0.181 0.078 300.2)CMYK
cmyk(48%, 89%, 0%, 82%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#160529
2#130425
3#110420
4#0E031C
5#0C0317
6#0A0212
7#07020E
8#050109
9#020105
Tints
Lighter variations
1#2E0A57
2#440E81
3#5913AA
4#6F17D3
5#8630E8
6#9E5AED
7#B683F1
8#CFACF6
9#E7D6FA
Tones
Muted variations
1#18072C
2#18092A
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 #F7F1FD | BackgroundsSubtle highlightsCard backgrounds |
| 100 | ECDF #ECDFFB | Light backgroundsTable row hoverSkeleton loading |
| 200 | DCC3 #DCC3F8 | Secondary backgroundsInput backgroundsDividers |
| 300 | C195 #C195F3 | BordersInactive statesPlaceholder text |
| 400 | A15E #A15EED | Disabled statesSecondary iconsMuted text |
| 500 | 8630 #8630E8 | Primary brand colorCTAsActive elementsLinks |
| 600 | 6A16 #6A16CA | Hover statesFocus ringsPrimary buttons hover |
| 700 | 5412 #5412A1 | Active/pressed statesDark mode accentsSecondary text |
| 800 | 3C0D #3C0D73 | Text on light backgroundsHeadingsStrong borders |
| 900 | 2708 #270849 | Primary textHigh emphasis contentDark headings |
| 950 | 1805 #18052E | Maximum contrast textDark mode backgrounds |
Export Code
Copy ready-to-use code for your project
:root {
--black-50: #F7F1FD;
--black-100: #ECDFFB;
--black-200: #DCC3F8;
--black-300: #C195F3;
--black-400: #A15EED;
--black-500: #8630E8;
--black-600: #6A16CA;
--black-700: #5412A1;
--black-800: #3C0D73;
--black-900: #270849;
--black-950: #18052E;
}