Black
#180231
PurpleColor Codes
All color formats for development
HEX
#180231RGB
rgb(24, 2, 49)HSL
hsl(268, 92%, 10%)OKLCH
oklch(0.178 0.088 299.4)CMYK
cmyk(51%, 96%, 0%, 81%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#16022C
2#130227
3#110122
4#0E011D
5#0C0118
6#0A0114
7#07010F
8#05000A
9#020005
Tints
Lighter variations
1#2D045D
2#430689
3#5908B5
4#6E09E1
5#8523F6
6#9E4FF8
7#B67BF9
8#CEA7FB
9#E7D3FD
Tones
Muted variations
1#18042F
2#18072C
3#18092A
4#190B28
5#190E25
6#191023
7#191221
8#19151E
9#19171C
Usage Guidelines
Recommended use cases for each shade level
| Level | Color | Typical Use Cases |
|---|---|---|
| 50 | F7F0 #F7F0FE | BackgroundsSubtle highlightsCard backgrounds |
| 100 | ECDD #ECDDFE | Light backgroundsTable row hoverSkeleton loading |
| 200 | DCBF #DCBFFC | Secondary backgroundsInput backgroundsDividers |
| 300 | C18E #C18EFA | BordersInactive statesPlaceholder text |
| 400 | A054 #A054F8 | Disabled statesSecondary iconsMuted text |
| 500 | 8523 #8523F6 | Primary brand colorCTAsActive elementsLinks |
| 600 | 6909 #6909D7 | Hover statesFocus ringsPrimary buttons hover |
| 700 | 5407 #5407AB | Active/pressed statesDark mode accentsSecondary text |
| 800 | 3C05 #3C057A | Text on light backgroundsHeadingsStrong borders |
| 900 | 2603 #26034E | Primary textHigh emphasis contentDark headings |
| 950 | 1802 #180231 | Maximum contrast textDark mode backgrounds |
Export Code
Copy ready-to-use code for your project
:root {
--black-50: #F7F0FE;
--black-100: #ECDDFE;
--black-200: #DCBFFC;
--black-300: #C18EFA;
--black-400: #A054F8;
--black-500: #8523F6;
--black-600: #6909D7;
--black-700: #5407AB;
--black-800: #3C057A;
--black-900: #26034E;
--black-950: #180231;
}