#2D282F#2D282F
#2D282F is a dark, near-neutral purple. Relative luminance 0.023; OKLCH L 28.5% C 0.014 H 316.4°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).
Color values
| HEX | #2D282F |
|---|---|
| RGB | rgb(45, 40, 47) |
| HSL | hsl(283, 8%, 17%) |
| HSV | hsv(283, 15%, 18%) |
| CMYK | cmyk(4.3%, 14.9%, 0%, 81.6%) |
| CIE-LAB | lab(16.90, 3.95, -3.72) |
| CIE-LCH | lch(16.90, 5.43, 316.70°) |
| OKLab | oklab(28.51% 0.0104 -0.01) |
| OKLCH | oklch(28.51% 0.014 316.4) |
| XYZ | xyz(2.3540, 2.2807, 3.0050) |
| Luminance | 0.0228 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Dark Grey
#363737
ΔE00 7.80
Dark
#1B2431
ΔE00 7.95
Onyx
#353839
ΔE00 8.45
Charcoal (survey)
#343837
ΔE00 9.63
Gunmetal
#2A3439
ΔE00 10.09
Charcoal Grey
#3C4142
ΔE00 10.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D282F #2A2F28
analogous
#2A282F #2D282F #2F282E
triadic
#2D282F #2F2D28 #282F2D
tetradic
#2D282F #2F2A28 #2A2F28 #282E2F
square
#2D282F #2F2A28 #2A2F28 #282E2F
split-complementary
#2D282F #2E2F28 #282F2A
monochromatic
#100E11 #100E11 #2D282F #4D4450 #6C6071
Accessibility & contrast
On white
14.42
#2D282F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#2D282F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D282F
14.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D282F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D282F | 1.00 | 14.42 | 1.46 | 14.42 |
| #FFFFFF | 14.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#27292F
Deuteranopia (green-blind)
#282A2F
Tritanopia (blue-blind)
#2D292A
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #2d282f; /* rgb */ color: rgb(45, 40, 47); /* oklch */ color: oklch(28.5% 0.014 316.4);
Tailwind
colors: {
custom: {
50: '#656167',
500: '#2d282f',
950: '#000000',
},
}SCSS
$custom: #2d282f; $custom-light: #656167; $custom-dark: #000000;
JSON
{
"hex": "#2d282f",
"rgb": {
"r": 45,
"g": 40,
"b": 47
},
"hsl": {
"h": 282.857,
"s": 8.046,
"l": 17.059
},
"oklch": {
"l": 0.28509,
"c": 0.01444,
"h": 316.4
},
"luminance": 0.02281
}Semantic roles & 50–950 ramp
primary
#2D282F
secondary
#575E54
accent
#B17787
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#050506
muted
#7A797A