#2A202A#2A202A
#2A202A is a dark, muted purple. Relative luminance 0.017; OKLCH L 25.9% C 0.023 H 326.2°. Best body text is #FFFFFF at 15.69:1 contrast (WCAG AA passes).
Color values
| HEX | #2A202A |
|---|---|
| RGB | rgb(42, 32, 42) |
| HSL | hsl(300, 14%, 15%) |
| HSV | hsv(300, 24%, 16%) |
| CMYK | cmyk(0%, 23.8%, 0%, 83.5%) |
| CIE-LAB | lab(13.78, 7.07, -4.86) |
| CIE-LCH | lch(13.78, 8.58, 325.48°) |
| OKLab | oklab(25.95% 0.0195 -0.013) |
| OKLCH | oklch(25.95% 0.023 326.2) |
| XYZ | xyz(1.8892, 1.6925, 2.4172) |
| Luminance | 0.0169 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Very Dark Brown
#1D0200
ΔE00 10.24
Dark
#1B2431
ΔE00 10.45
Dark Grey
#363737
ΔE00 11.67
Black
#000000
ΔE00 12.47
Onyx
#353839
ΔE00 12.50
Navy Blue
#1B2A4A
ΔE00 12.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A202A #202A20
analogous
#25202A #2A202A #2A2025
triadic
#2A202A #2A2A20 #202A2A
tetradic
#2A202A #2A2520 #202A20 #20252A
square
#2A202A #2A2520 #202A20 #20252A
split-complementary
#2A202A #252A20 #202A25
monochromatic
#110D11 #110D11 #2A202A #4D3A4D #6F556F
Accessibility & contrast
On white
15.69
#2A202A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.34
#2A202A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A202A
15.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A202A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A202A | 1.00 | 15.69 | 1.34 | 15.69 |
| #FFFFFF | 15.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F222A
Deuteranopia (green-blind)
#22242A
Tritanopia (blue-blind)
#2B2123
Achromatopsia (no color)
#232323
Design tokens & code
CSS
--color: #2a202a; /* rgb */ color: rgb(42, 32, 42); /* oklch */ color: oklch(25.9% 0.023 326.2);
Tailwind
colors: {
custom: {
50: '#635b63',
500: '#2a202a',
950: '#000000',
},
}SCSS
$custom: #2a202a; $custom-light: #635b63; $custom-dark: #000000;
JSON
{
"hex": "#2a202a",
"rgb": {
"r": 42,
"g": 32,
"b": 42
},
"hsl": {
"h": 300,
"s": 13.514,
"l": 14.51
},
"oklch": {
"l": 0.25948,
"c": 0.02344,
"h": 326.2
},
"luminance": 0.01692
}Semantic roles & 50–950 ramp
primary
#2A202A
secondary
#4B5B4B
accent
#B67171
background
#F5F5F5
surface
#EAE9EA
border
#C6C5C6
text
#050405
muted
#797979