Black
#18072C
PurpleColor Codes
All color formats for development
HEX
#18072CRGB
rgb(24, 7, 44)HSL
hsl(268, 73%, 10%)OKLCH
oklch(0.183 0.071 300.7)CMYK
cmyk(45%, 84%, 0%, 83%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#160628
2#130623
3#11051F
4#0F041A
5#0C0316
6#0A0312
7#07020D
8#050109
9#020104
Tints
Lighter variations
1#2E0D54
2#44137C
3#5A19A3
4#7020CB
5#8738E0
6#9F60E6
7#B788EC
8#CFB0F3
9#E7D7F9
Tones
Muted variations
1#18092A
2#190B28
3#190C27
4#190E25
5#191023
6#191221
7#19141F
8#19161D
9#19181B
Usage Guidelines
Recommended use cases for each shade level
| Level | Color | Typical Use Cases |
|---|---|---|
| 50 | F7F2 #F7F2FD | BackgroundsSubtle highlightsCard backgrounds |
| 100 | ECE0 #ECE0FA | Light backgroundsTable row hoverSkeleton loading |
| 200 | DCC6 #DCC6F6 | Secondary backgroundsInput backgroundsDividers |
| 300 | C19A #C19AEF | BordersInactive statesPlaceholder text |
| 400 | A165 #A165E7 | Disabled statesSecondary iconsMuted text |
| 500 | 8738 #8738E0 | Primary brand colorCTAsActive elementsLinks |
| 600 | 6B1E #6B1EC2 | Hover statesFocus ringsPrimary buttons hover |
| 700 | 5518 #55189A | Active/pressed statesDark mode accentsSecondary text |
| 800 | 3D11 #3D116E | Text on light backgroundsHeadingsStrong borders |
| 900 | 270B #270B47 | Primary textHigh emphasis contentDark headings |
| 950 | 1807 #18072C | Maximum contrast textDark mode backgrounds |
Export Code
Copy ready-to-use code for your project
:root {
--black-50: #F7F2FD;
--black-100: #ECE0FA;
--black-200: #DCC6F6;
--black-300: #C19AEF;
--black-400: #A165E7;
--black-500: #8738E0;
--black-600: #6B1EC2;
--black-700: #55189A;
--black-800: #3D116E;
--black-900: #270B47;
--black-950: #18072C;
}