#2E2438#2E2438
#2E2438 is a dark, muted violet. Relative luminance 0.021; OKLCH L 28.1% C 0.038 H 306.9°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2438 |
|---|---|
| RGB | rgb(46, 36, 56) |
| HSL | hsl(270, 22%, 18%) |
| HSV | hsv(270, 36%, 22%) |
| CMYK | cmyk(17.9%, 35.7%, 0%, 78%) |
| CIE-LAB | lab(16.15, 9.57, -11.18) |
| CIE-LCH | lch(16.15, 14.71, 310.56°) |
| OKLab | oklab(28.09% 0.0231 -0.0307) |
| OKLCH | oklch(28.09% 0.038 306.9) |
| XYZ | xyz(2.4713, 2.1281, 4.0212) |
| Luminance | 0.0213 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 10.13
Dark
#1B2431
ΔE00 11.30
Eggplant
#380835
ΔE00 11.82
Navy (survey)
#01153E
ΔE00 11.95
Midnight
#03012D
ΔE00 12.32
Aubergine
#3D0734
ΔE00 12.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2438 #2E3824
analogous
#242438 #2E2438 #382438
triadic
#2E2438 #382E24 #24382E
tetradic
#2E2438 #382424 #2E3824 #243838
square
#2E2438 #382424 #2E3824 #243838
split-complementary
#2E2438 #383824 #243824
monochromatic
#0F0C13 #0F0C13 #2E2438 #4D3C5D #6B5483
Accessibility & contrast
On white
14.73
#2E2438 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#2E2438 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2438
14.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2438 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2438 | 1.00 | 14.73 | 1.43 | 14.73 |
| #FFFFFF | 14.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#202839
Deuteranopia (green-blind)
#222837
Tritanopia (blue-blind)
#2D272B
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #2e2438; /* rgb */ color: rgb(46, 36, 56); /* oklch */ color: oklch(28.1% 0.038 306.9);
Tailwind
colors: {
custom: {
50: '#675e6e',
500: '#2e2438',
950: '#000000',
},
}SCSS
$custom: #2e2438; $custom-light: #675e6e; $custom-dark: #000000;
JSON
{
"hex": "#2e2438",
"rgb": {
"r": 46,
"g": 36,
"b": 56
},
"hsl": {
"h": 270,
"s": 21.739,
"l": 18.039
},
"oklch": {
"l": 0.28087,
"c": 0.0384,
"h": 306.9
},
"luminance": 0.02128
}Semantic roles & 50–950 ramp
primary
#2E2438
secondary
#5C6A4E
accent
#BE6A94
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#060407
muted
#7A797A