#2E2437#2E2437
#2E2437 is a dark, muted violet. Relative luminance 0.021; OKLCH L 28.0% C 0.037 H 308.2°. Best body text is #FFFFFF at 14.75:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2437 |
|---|---|
| RGB | rgb(46, 36, 55) |
| HSL | hsl(272, 21%, 18%) |
| HSV | hsv(272, 35%, 22%) |
| CMYK | cmyk(16.4%, 34.5%, 0%, 78.4%) |
| CIE-LAB | lab(16.10, 9.29, -10.55) |
| CIE-LCH | lch(16.10, 14.06, 311.37°) |
| OKLab | oklab(28.03% 0.0227 -0.0289) |
| OKLCH | oklch(28.03% 0.037 308.2) |
| XYZ | xyz(2.4471, 2.1184, 3.8937) |
| Luminance | 0.0212 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 10.32
Dark
#1B2431
ΔE00 11.16
Eggplant
#380835
ΔE00 12.03
Navy (survey)
#01153E
ΔE00 12.23
Midnight
#03012D
ΔE00 12.56
Aubergine
#3D0734
ΔE00 12.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2437 #2D3724
analogous
#242437 #2E2437 #372436
triadic
#2E2437 #372E24 #24372E
tetradic
#2E2437 #372424 #2D3724 #243637
square
#2E2437 #372424 #2D3724 #243637
split-complementary
#2E2437 #363724 #243724
monochromatic
#0F0C12 #0F0C12 #2E2437 #4D3C5C #6C5481
Accessibility & contrast
On white
14.75
#2E2437 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.42
#2E2437 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2437
14.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2437 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2437 | 1.00 | 14.75 | 1.42 | 14.75 |
| #FFFFFF | 14.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#212838
Deuteranopia (green-blind)
#232836
Tritanopia (blue-blind)
#2D272B
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #2e2437; /* rgb */ color: rgb(46, 36, 55); /* oklch */ color: oklch(28.0% 0.037 308.2);
Tailwind
colors: {
custom: {
50: '#675e6d',
500: '#2e2437',
950: '#000000',
},
}SCSS
$custom: #2e2437; $custom-light: #675e6d; $custom-dark: #000000;
JSON
{
"hex": "#2e2437",
"rgb": {
"r": 46,
"g": 36,
"b": 55
},
"hsl": {
"h": 271.579,
"s": 20.879,
"l": 17.843
},
"oklch": {
"l": 0.28034,
"c": 0.03678,
"h": 308.2
},
"luminance": 0.02118
}Semantic roles & 50–950 ramp
primary
#2E2437
secondary
#5B694E
accent
#BD6A92
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060407
muted
#7A797A