#2E2230#2E2230
#2E2230 is a dark, muted purple. Relative luminance 0.019; OKLCH L 27.2% C 0.031 H 321.5°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2230 |
|---|---|
| RGB | rgb(46, 34, 48) |
| HSL | hsl(291, 17%, 16%) |
| HSV | hsv(291, 29%, 19%) |
| CMYK | cmyk(4.2%, 29.2%, 0%, 81.2%) |
| CIE-LAB | lab(15.16, 8.88, -7.03) |
| CIE-LCH | lch(15.16, 11.32, 321.61°) |
| OKLab | oklab(27.21% 0.0239 -0.019) |
| OKLCH | oklch(27.21% 0.031 321.5) |
| XYZ | xyz(2.2322, 1.9383, 3.0523) |
| Luminance | 0.0194 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Dark
#1B2431
ΔE00 11.57
Very Dark Brown
#1D0200
ΔE00 11.61
Navy Blue
#1B2A4A
ΔE00 12.26
Eggplant
#380835
ΔE00 12.57
Aubergine
#3D0734
ΔE00 12.94
Dark Grey
#363737
ΔE00 12.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2230 #243022
analogous
#272230 #2E2230 #30222B
triadic
#2E2230 #302E22 #22302E
tetradic
#2E2230 #302722 #243022 #222B30
square
#2E2230 #302722 #243022 #222B30
split-complementary
#2E2230 #2B3022 #223027
monochromatic
#110D12 #110D12 #2E2230 #503B54 #735578
Accessibility & contrast
On white
15.13
#2E2230 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.39
#2E2230 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2230
15.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2230 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2230 | 1.00 | 15.13 | 1.39 | 15.13 |
| #FFFFFF | 15.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#212531
Deuteranopia (green-blind)
#232630
Tritanopia (blue-blind)
#2E2327
Achromatopsia (no color)
#262626
Design tokens & code
CSS
--color: #2e2230; /* rgb */ color: rgb(46, 34, 48); /* oklch */ color: oklch(27.2% 0.031 321.5);
Tailwind
colors: {
custom: {
50: '#675d68',
500: '#2e2230',
950: '#000000',
},
}SCSS
$custom: #2e2230; $custom-light: #675d68; $custom-dark: #000000;
JSON
{
"hex": "#2e2230",
"rgb": {
"r": 46,
"g": 34,
"b": 48
},
"hsl": {
"h": 291.429,
"s": 17.073,
"l": 16.078
},
"oklch": {
"l": 0.27209,
"c": 0.03056,
"h": 321.5
},
"luminance": 0.01938
}Semantic roles & 50–950 ramp
primary
#2E2230
secondary
#4F614D
accent
#BA6E79
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060406
muted
#7A797A