Black
#12042F
PurpleColor Codes
All color formats for development
HEX
#12042FRGB
rgb(18, 4, 47)HSL
hsl(260, 84%, 10%)OKLCH
oklch(0.171 0.081 291.2)CMYK
cmyk(62%, 91%, 0%, 82%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#11042A
2#0F0326
3#0D0321
4#0B021C
5#090217
6#070213
7#06010E
8#040109
9#020005
Tints
Lighter variations
1#230859
2#330B83
3#440FAE
4#5413D8
5#6C2CED
6#8956F0
7#A780F4
8#C4ABF8
9#E2D5FB
Tones
Muted variations
1#13062D
2#14082B
3#150B28
4#150D26
5#160F24
6#171122
7#171320
8#18151E
9#19171C
Usage Guidelines
Recommended use cases for each shade level
| Level | Color | Typical Use Cases |
|---|---|---|
| 50 | F5F1 #F5F1FE | BackgroundsSubtle highlightsCard backgrounds |
| 100 | E8DE #E8DEFC | Light backgroundsTable row hoverSkeleton loading |
| 200 | D5C2 #D5C2FA | Secondary backgroundsInput backgroundsDividers |
| 300 | B493 #B493F6 | BordersInactive statesPlaceholder text |
| 400 | 8D5B #8D5BF1 | Disabled statesSecondary iconsMuted text |
| 500 | 6C2C #6C2CED | Primary brand colorCTAsActive elementsLinks |
| 600 | 5112 #5112CE | Hover statesFocus ringsPrimary buttons hover |
| 700 | 400E #400EA4 | Active/pressed statesDark mode accentsSecondary text |
| 800 | 2E0A #2E0A75 | Text on light backgroundsHeadingsStrong borders |
| 900 | 1D07 #1D074B | Primary textHigh emphasis contentDark headings |
| 950 | 1204 #12042F | Maximum contrast textDark mode backgrounds |
Export Code
Copy ready-to-use code for your project
:root {
--black-50: #F5F1FE;
--black-100: #E8DEFC;
--black-200: #D5C2FA;
--black-300: #B493F6;
--black-400: #8D5BF1;
--black-500: #6C2CED;
--black-600: #5112CE;
--black-700: #400EA4;
--black-800: #2E0A75;
--black-900: #1D074B;
--black-950: #12042F;
}