#2A1E2A#2A1E2A
#2A1E2A is a dark, muted purple. Relative luminance 0.016; OKLCH L 25.5% C 0.028 H 326.4°. Best body text is #FFFFFF at 15.94:1 contrast (WCAG AA passes).
Color values
| HEX | #2A1E2A |
|---|---|
| RGB | rgb(42, 30, 42) |
| HSL | hsl(300, 17%, 14%) |
| HSV | hsv(300, 29%, 16%) |
| CMYK | cmyk(0%, 28.6%, 0%, 83.5%) |
| CIE-LAB | lab(13.16, 8.51, -5.80) |
| CIE-LCH | lch(13.16, 10.30, 325.69°) |
| OKLab | oklab(25.47% 0.0235 -0.0156) |
| OKLCH | oklch(25.47% 0.028 326.4) |
| XYZ | xyz(1.8370, 1.5880, 2.3998) |
| Luminance | 0.0159 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Very Dark Brown
#1D0200
ΔE00 10.16
Dark
#1B2431
ΔE00 11.57
Eggplant
#380835
ΔE00 12.91
Navy Blue
#1B2A4A
ΔE00 13.03
Dark Grey
#363737
ΔE00 13.09
Aubergine
#3D0734
ΔE00 13.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A1E2A #1E2A1E
analogous
#241E2A #2A1E2A #2A1E24
triadic
#2A1E2A #2A2A1E #1E2A2A
tetradic
#2A1E2A #2A241E #1E2A1E #1E242A
square
#2A1E2A #2A241E #1E2A1E #1E242A
split-complementary
#2A1E2A #242A1E #1E2A24
monochromatic
#120D12 #120D12 #2A1E2A #4E384E #715171
Accessibility & contrast
On white
15.94
#2A1E2A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.32
#2A1E2A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A1E2A
15.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A1E2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A1E2A | 1.00 | 15.94 | 1.32 | 15.94 |
| #FFFFFF | 15.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D212A
Deuteranopia (green-blind)
#20222A
Tritanopia (blue-blind)
#2B1F22
Achromatopsia (no color)
#222222
Design tokens & code
CSS
--color: #2a1e2a; /* rgb */ color: rgb(42, 30, 42); /* oklch */ color: oklch(25.5% 0.028 326.4);
Tailwind
colors: {
custom: {
50: '#635963',
500: '#2a1e2a',
950: '#000000',
},
}SCSS
$custom: #2a1e2a; $custom-light: #635963; $custom-dark: #000000;
JSON
{
"hex": "#2a1e2a",
"rgb": {
"r": 42,
"g": 30,
"b": 42
},
"hsl": {
"h": 300,
"s": 16.667,
"l": 14.118
},
"oklch": {
"l": 0.25467,
"c": 0.0282,
"h": 326.4
},
"luminance": 0.01588
}Semantic roles & 50–950 ramp
primary
#2A1E2A
secondary
#485B48
accent
#B96E6E
background
#F5F5F5
surface
#EAE9EA
border
#C6C5C6
text
#050305
muted
#797879