Black
#170231
PurpleColor Codes
All color formats for development
HEX
#170231RGB
rgb(23, 2, 49)HSL
hsl(267, 92%, 10%)OKLCH
oklch(0.176 0.088 298)CMYK
cmyk(53%, 96%, 0%, 81%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#15022C
2#130227
3#100122
4#0E011D
5#0C0118
6#090114
7#07010F
8#05000A
9#020005
Tints
Lighter variations
1#2C045D
2#410689
3#5608B5
4#6B09E1
5#8223F6
6#9B4FF8
7#B47BF9
8#CDA7FB
9#E6D3FD
Tones
Muted variations
1#17042F
2#18072C
3#18092A
4#180B28
5#180E25
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 | DBBF #DBBFFC | Secondary backgroundsInput backgroundsDividers |
| 300 | BF8E #BF8EFA | BordersInactive statesPlaceholder text |
| 400 | 9E54 #9E54F8 | Disabled statesSecondary iconsMuted text |
| 500 | 8223 #8223F6 | Primary brand colorCTAsActive elementsLinks |
| 600 | 6609 #6609D7 | Hover statesFocus ringsPrimary buttons hover |
| 700 | 5107 #5107AB | Active/pressed statesDark mode accentsSecondary text |
| 800 | 3A05 #3A057A | Text on light backgroundsHeadingsStrong borders |
| 900 | 2503 #25034E | Primary textHigh emphasis contentDark headings |
| 950 | 1702 #170231 | Maximum contrast textDark mode backgrounds |
Export Code
Copy ready-to-use code for your project
:root {
--black-50: #F7F0FE;
--black-100: #ECDDFE;
--black-200: #DBBFFC;
--black-300: #BF8EFA;
--black-400: #9E54F8;
--black-500: #8223F6;
--black-600: #6609D7;
--black-700: #5107AB;
--black-800: #3A057A;
--black-900: #25034E;
--black-950: #170231;
}