#2E262E#2E262E
#2E262E is a dark, near-neutral purple. Relative luminance 0.022; OKLCH L 28.1% C 0.018 H 326.1°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).
Color values
| HEX | #2E262E |
|---|---|
| RGB | rgb(46, 38, 46) |
| HSL | hsl(300, 10%, 16%) |
| HSV | hsv(300, 17%, 18%) |
| CMYK | cmyk(0%, 17.4%, 0%, 82%) |
| CIE-LAB | lab(16.33, 5.55, -3.85) |
| CIE-LCH | lch(16.33, 6.76, 325.22°) |
| OKLab | oklab(28.08% 0.0153 -0.0103) |
| OKLCH | oklch(28.08% 0.018 326.1) |
| XYZ | xyz(2.3129, 2.1644, 2.8802) |
| Luminance | 0.0216 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Dark Grey
#363737
ΔE00 9.40
Dark
#1B2431
ΔE00 9.45
Onyx
#353839
ΔE00 10.21
Charcoal (survey)
#343837
ΔE00 11.38
Very Dark Brown
#1D0200
ΔE00 11.46
Gunmetal
#2A3439
ΔE00 12.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E262E #262E26
analogous
#2A262E #2E262E #2E262A
triadic
#2E262E #2E2E26 #262E2E
tetradic
#2E262E #2E2A26 #262E26 #262A2E
square
#2E262E #2E2A26 #262E26 #262A2E
split-complementary
#2E262E #2A2E26 #262E2A
monochromatic
#110E11 #110E11 #2E262E #504250 #715D71
Accessibility & contrast
On white
14.66
#2E262E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#2E262E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E262E
14.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E262E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E262E | 1.00 | 14.66 | 1.43 | 14.66 |
| #FFFFFF | 14.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26282E
Deuteranopia (green-blind)
#27292E
Tritanopia (blue-blind)
#2F2729
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #2e262e; /* rgb */ color: rgb(46, 38, 46); /* oklch */ color: oklch(28.1% 0.018 326.1);
Tailwind
colors: {
custom: {
50: '#666066',
500: '#2e262e',
950: '#000000',
},
}SCSS
$custom: #2e262e; $custom-light: #666066; $custom-dark: #000000;
JSON
{
"hex": "#2e262e",
"rgb": {
"r": 46,
"g": 38,
"b": 46
},
"hsl": {
"h": 300,
"s": 9.524,
"l": 16.471
},
"oklch": {
"l": 0.28081,
"c": 0.01843,
"h": 326.1
},
"luminance": 0.02164
}Semantic roles & 50–950 ramp
primary
#2E262E
secondary
#525E52
accent
#B37575
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060406
muted
#7A797A