#2E2A34#2E2A34
#2E2A34 is a dark, near-neutral violet. Relative luminance 0.025; OKLCH L 29.3% C 0.019 H 303.4°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2A34 |
|---|---|
| RGB | rgb(46, 42, 52) |
| HSL | hsl(264, 11%, 18%) |
| HSV | hsv(264, 19%, 20%) |
| CMYK | cmyk(11.5%, 19.2%, 0%, 79.6%) |
| CIE-LAB | lab(17.85, 4.26, -5.78) |
| CIE-LCH | lch(17.85, 7.18, 306.35°) |
| OKLab | oklab(29.34% 0.0103 -0.0156) |
| OKLCH | oklch(29.34% 0.019 303.4) |
| XYZ | xyz(2.5744, 2.4847, 3.5921) |
| Luminance | 0.0249 (WCAG relative) |
| Temperature | neutral |
| Family | violet |
Closest named colors
Dark
#1B2431
ΔE00 7.40
Dark Grey
#363737
ΔE00 8.43
Onyx
#353839
ΔE00 8.88
Gunmetal
#2A3439
ΔE00 10.09
Charcoal (survey)
#343837
ΔE00 10.17
Navy Blue
#1B2A4A
ΔE00 10.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2A34 #30342A
analogous
#2A2B34 #2E2A34 #332A34
triadic
#2E2A34 #342E2A #2A342E
tetradic
#2E2A34 #342A2B #30342A #2A3433
square
#2E2A34 #342A2B #30342A #2A3433
split-complementary
#2E2A34 #34332A #2B342A
monochromatic
#0F0E11 #100F12 #2E2A34 #4C4556 #6A6178
Accessibility & contrast
On white
14.03
#2E2A34 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#2E2A34 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2A34
14.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2A34 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2A34 | 1.00 | 14.03 | 1.50 | 14.03 |
| #FFFFFF | 14.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#282C34
Deuteranopia (green-blind)
#292C34
Tritanopia (blue-blind)
#2D2B2D
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #2e2a34; /* rgb */ color: rgb(46, 42, 52); /* oklch */ color: oklch(29.3% 0.019 303.4);
Tailwind
colors: {
custom: {
50: '#66636b',
500: '#2e2a34',
950: '#000000',
},
}SCSS
$custom: #2e2a34; $custom-light: #66636b; $custom-dark: #000000;
JSON
{
"hex": "#2e2a34",
"rgb": {
"r": 46,
"g": 42,
"b": 52
},
"hsl": {
"h": 264,
"s": 10.638,
"l": 18.431
},
"oklch": {
"l": 0.29342,
"c": 0.01872,
"h": 303.4
},
"luminance": 0.02485
}Semantic roles & 50–950 ramp
primary
#2E2A34
secondary
#5E6456
accent
#B4749A
background
#F6F5F6
surface
#EBEAEB
border
#C6C6C6
text
#060506
muted
#7A797A