#2E172F#2E172F
#2E172F is a very dark, muted purple. Relative luminance 0.014; OKLCH L 24.8% C 0.054 H 325.6°. Best body text is #FFFFFF at 16.41:1 contrast (WCAG AA passes).
Color values
| HEX | #2E172F |
|---|---|
| RGB | rgb(46, 23, 47) |
| HSL | hsl(298, 34%, 14%) |
| HSV | hsv(298, 51%, 18%) |
| CMYK | cmyk(2.1%, 51.1%, 0%, 81.6%) |
| CIE-LAB | lab(11.95, 16.31, -11.23) |
| CIE-LCH | lch(11.95, 19.81, 325.44°) |
| OKLab | oklab(24.76% 0.0448 -0.0307) |
| OKLCH | oklch(24.76% 0.054 325.6) |
| XYZ | xyz(1.9462, 1.3990, 2.8563) |
| Luminance | 0.0140 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Eggplant
#380835
ΔE00 6.75
Aubergine
#3D0734
ΔE00 7.32
Very Dark Purple
#2A0134
ΔE00 8.42
Dark Purple
#35063E
ΔE00 8.54
Dark Plum
#3F012C
ΔE00 8.56
Midnight Purple
#280137
ΔE00 9.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E172F #182F17
analogous
#22172F #2E172F #2F1724
triadic
#2E172F #2F2E17 #172F2E
tetradic
#2E172F #2F2217 #182F17 #17242F
square
#2E172F #2F2217 #182F17 #17242F
split-complementary
#2E172F #242F17 #172F22
monochromatic
#140A15 #140A15 #2E172F #562B58 #7E3F81
Accessibility & contrast
On white
16.41
#2E172F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.28
#2E172F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E172F
16.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E172F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E172F | 1.00 | 16.41 | 1.28 | 16.41 |
| #FFFFFF | 16.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#151E30
Deuteranopia (green-blind)
#1B202E
Tritanopia (blue-blind)
#2F1A20
Achromatopsia (no color)
#1F1F1F
Design tokens & code
CSS
--color: #2e172f; /* rgb */ color: rgb(46, 23, 47); /* oklch */ color: oklch(24.8% 0.054 325.6);
Tailwind
colors: {
custom: {
50: '#675467',
500: '#2e172f',
950: '#000000',
},
}SCSS
$custom: #2e172f; $custom-light: #675467; $custom-dark: #000000;
JSON
{
"hex": "#2e172f",
"rgb": {
"r": 46,
"g": 23,
"b": 47
},
"hsl": {
"h": 297.5,
"s": 34.286,
"l": 13.725
},
"oklch": {
"l": 0.24759,
"c": 0.05437,
"h": 325.6
},
"luminance": 0.01399
}Semantic roles & 50–950 ramp
primary
#2E172F
secondary
#3F643D
accent
#CA5D62
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060306
muted
#7A787A