#2E2736#2E2736
#2E2736 is a dark, muted violet. Relative luminance 0.023; OKLCH L 28.7% C 0.029 H 305.9°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2736 |
|---|---|
| RGB | rgb(46, 39, 54) |
| HSL | hsl(268, 16%, 18%) |
| HSV | hsv(268, 28%, 21%) |
| CMYK | cmyk(14.8%, 27.8%, 0%, 78.8%) |
| CIE-LAB | lab(16.98, 6.90, -8.50) |
| CIE-LCH | lch(16.98, 10.94, 309.06°) |
| OKLab | oklab(28.7% 0.0168 -0.0231) |
| OKLCH | oklch(28.7% 0.029 305.9) |
| XYZ | xyz(2.5180, 2.2982, 3.8003) |
| Luminance | 0.0230 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark
#1B2431
ΔE00 9.27
Navy Blue
#1B2A4A
ΔE00 10.06
Dark Grey
#363737
ΔE00 11.51
Onyx
#353839
ΔE00 12.02
Navy (survey)
#01153E
ΔE00 13.22
Gunmetal
#2A3439
ΔE00 13.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2736 #2F3627
analogous
#272736 #2E2736 #352736
triadic
#2E2736 #362E27 #27362E
tetradic
#2E2736 #362727 #2F3627 #273635
square
#2E2736 #362727 #2F3627 #273635
split-complementary
#2E2736 #363527 #273627
monochromatic
#0F0D12 #100D12 #2E2736 #4C415A #6B5A7D
Accessibility & contrast
On white
14.39
#2E2736 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#2E2736 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2736
14.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2736 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2736 | 1.00 | 14.39 | 1.46 | 14.39 |
| #FFFFFF | 14.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#242A37
Deuteranopia (green-blind)
#262A36
Tritanopia (blue-blind)
#2D292C
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #2e2736; /* rgb */ color: rgb(46, 39, 54); /* oklch */ color: oklch(28.7% 0.029 305.9);
Tailwind
colors: {
custom: {
50: '#66616d',
500: '#2e2736',
950: '#000000',
},
}SCSS
$custom: #2e2736; $custom-light: #66616d; $custom-dark: #000000;
JSON
{
"hex": "#2e2736",
"rgb": {
"r": 46,
"g": 39,
"b": 54
},
"hsl": {
"h": 268,
"s": 16.129,
"l": 18.235
},
"oklch": {
"l": 0.28697,
"c": 0.02857,
"h": 305.9
},
"luminance": 0.02298
}Semantic roles & 50–950 ramp
primary
#2E2736
secondary
#5D6752
accent
#B96F96
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060507
muted
#7A797A