#17151F#17151F
#17151F is a very dark, near-neutral violet. Relative luminance 0.008; OKLCH L 20.3% C 0.020 H 293.7°. Best body text is #FFFFFF at 18.05:1 contrast (WCAG AA passes).
Color values
| HEX | #17151F |
|---|---|
| RGB | rgb(23, 21, 31) |
| HSL | hsl(252, 19%, 10%) |
| HSV | hsv(252, 32%, 12%) |
| CMYK | cmyk(25.8%, 32.3%, 0%, 87.8%) |
| CIE-LAB | lab(7.38, 3.75, -6.63) |
| CIE-LCH | lch(7.38, 7.62, 299.52°) |
| OKLab | oklab(20.29% 0.008 -0.0182) |
| OKLCH | oklch(20.29% 0.02 293.7) |
| XYZ | xyz(0.8688, 0.8174, 1.4081) |
| Luminance | 0.0082 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark
#1B2431
ΔE00 7.20
Black
#000000
ΔE00 8.48
Almost Black
#070D0D
ΔE00 9.05
Very Dark Brown
#1D0200
ΔE00 11.19
Navy Blue
#1B2A4A
ΔE00 11.80
Midnight
#03012D
ΔE00 12.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17151F #1D1F15
analogous
#15181F #17151F #1C151F
triadic
#17151F #1F1715 #151F17
tetradic
#17151F #1F1518 #1D1F15 #151F1C
square
#17151F #1F1518 #1D1F15 #151F1C
split-complementary
#17151F #1F1C15 #181F15
monochromatic
#0E0C12 #0E0C12 #17151F #322E43 #4D4668
Accessibility & contrast
On white
18.05
#17151F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.16
#17151F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17151F
18.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17151F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17151F | 1.00 | 18.05 | 1.16 | 18.05 |
| #FFFFFF | 18.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#13161F
Deuteranopia (green-blind)
#13161F
Tritanopia (blue-blind)
#151718
Achromatopsia (no color)
#161616
Design tokens & code
CSS
--color: #17151f; /* rgb */ color: rgb(23, 21, 31); /* oklch */ color: oklch(20.3% 0.020 293.7);
Tailwind
colors: {
custom: {
50: '#54525a',
500: '#17151f',
950: '#000000',
},
}SCSS
$custom: #17151f; $custom-light: #54525a; $custom-dark: #000000;
JSON
{
"hex": "#17151f",
"rgb": {
"r": 23,
"g": 21,
"b": 31
},
"hsl": {
"h": 252,
"s": 19.231,
"l": 10.196
},
"oklch": {
"l": 0.20289,
"c": 0.01991,
"h": 293.7
},
"luminance": 0.00817
}Semantic roles & 50–950 ramp
primary
#17151F
secondary
#4E523E
accent
#BC6CAC
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#020203
muted
#787878