#150F2C#150F2C
#150F2C is a very dark, muted violet. Relative luminance 0.007; OKLCH L 19.5% C 0.056 H 289.7°. Best body text is #FFFFFF at 18.48:1 contrast (WCAG AA passes).
Color values
| HEX | #150F2C |
|---|---|
| RGB | rgb(21, 15, 44) |
| HSL | hsl(252, 49%, 12%) |
| HSV | hsv(252, 66%, 17%) |
| CMYK | cmyk(52.3%, 65.9%, 0%, 82.7%) |
| CIE-LAB | lab(6.17, 11.56, -18.36) |
| CIE-LCH | lch(6.17, 21.70, 302.21°) |
| OKLab | oklab(19.48% 0.0189 -0.053) |
| OKLCH | oklch(19.48% 0.056 289.7) |
| XYZ | xyz(0.9346, 0.6829, 2.4650) |
| Luminance | 0.0068 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight
#03012D
ΔE00 5.07
Dark Navy Blue
#00022E
ΔE00 5.66
Very Dark Blue
#000133
ΔE00 6.63
Dark Navy
#000435
ΔE00 6.65
Midnight Blue (survey)
#020035
ΔE00 6.95
Navy (survey)
#01153E
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#150F2C #262C0F
analogous
#0F182C #150F2C #240F2C
triadic
#150F2C #2C150F #0F2C15
tetradic
#150F2C #2C0F18 #262C0F #0F2C24
square
#150F2C #2C0F18 #262C0F #0F2C24
split-complementary
#150F2C #2C240F #182C0F
monochromatic
#0B0817 #0B0817 #150F2C #2B1F5A #412E87
Accessibility & contrast
On white
18.48
#150F2C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.14
#150F2C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #150F2C
18.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##150F2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##150F2C | 1.00 | 18.48 | 1.14 | 18.48 |
| #FFFFFF | 18.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#03142D
Deuteranopia (green-blind)
#04132B
Tritanopia (blue-blind)
#0E151B
Achromatopsia (no color)
#141414
Design tokens & code
CSS
--color: #150f2c; /* rgb */ color: rgb(21, 15, 44); /* oklch */ color: oklch(19.5% 0.056 289.7);
Tailwind
colors: {
custom: {
50: '#544d65',
500: '#150f2c',
950: '#000000',
},
}SCSS
$custom: #150f2c; $custom-light: #544d65; $custom-dark: #000000;
JSON
{
"hex": "#150f2c",
"rgb": {
"r": 21,
"g": 15,
"b": 44
},
"hsl": {
"h": 252.414,
"s": 49.153,
"l": 11.569
},
"oklch": {
"l": 0.19476,
"c": 0.05625,
"h": 289.7
},
"luminance": 0.00683
}Semantic roles & 50–950 ramp
primary
#150F2C
secondary
#5B6531
accent
#D94FBC
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#030105
muted
#78777A