#2E2638#2E2638
#2E2638 is a dark, muted violet. Relative luminance 0.023; OKLCH L 28.6% C 0.034 H 304.6°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2638 |
|---|---|
| RGB | rgb(46, 38, 56) |
| HSL | hsl(267, 19%, 18%) |
| HSV | hsv(267, 32%, 22%) |
| CMYK | cmyk(17.9%, 32.1%, 0%, 78%) |
| CIE-LAB | lab(16.76, 8.15, -10.23) |
| CIE-LCH | lch(16.76, 13.08, 308.53°) |
| OKLab | oklab(28.56% 0.0194 -0.028) |
| OKLCH | oklch(28.56% 0.034 304.6) |
| XYZ | xyz(2.5335, 2.2526, 4.0419) |
| Luminance | 0.0225 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 9.72
Dark
#1B2431
ΔE00 10.16
Navy (survey)
#01153E
ΔE00 12.33
Dark Grey
#363737
ΔE00 12.89
Midnight
#03012D
ΔE00 12.93
Eggplant
#380835
ΔE00 13.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2638 #303826
analogous
#262738 #2E2638 #372638
triadic
#2E2638 #382E26 #26382E
tetradic
#2E2638 #382627 #303826 #263837
square
#2E2638 #382627 #303826 #263837
split-complementary
#2E2638 #383726 #273826
monochromatic
#0F0C12 #100D14 #2E2638 #4C3F5C #6A5781
Accessibility & contrast
On white
14.48
#2E2638 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#2E2638 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2638
14.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2638 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2638 | 1.00 | 14.48 | 1.45 | 14.48 |
| #FFFFFF | 14.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#232939
Deuteranopia (green-blind)
#242937
Tritanopia (blue-blind)
#2D292C
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #2e2638; /* rgb */ color: rgb(46, 38, 56); /* oklch */ color: oklch(28.6% 0.034 304.6);
Tailwind
colors: {
custom: {
50: '#67606e',
500: '#2e2638',
950: '#000000',
},
}SCSS
$custom: #2e2638; $custom-light: #67606e; $custom-dark: #000000;
JSON
{
"hex": "#2e2638",
"rgb": {
"r": 46,
"g": 38,
"b": 56
},
"hsl": {
"h": 266.667,
"s": 19.149,
"l": 18.431
},
"oklch": {
"l": 0.28559,
"c": 0.03407,
"h": 304.6
},
"luminance": 0.02253
}Semantic roles & 50–950 ramp
primary
#2E2638
secondary
#5E6950
accent
#BC6C98
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#060407
muted
#7A797A