#2F282F#2F282F
#2F282F is a dark, near-neutral purple. Relative luminance 0.023; OKLCH L 28.7% C 0.016 H 326.0°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).
Color values
| HEX | #2F282F |
|---|---|
| RGB | rgb(47, 40, 47) |
| HSL | hsl(300, 8%, 17%) |
| HSV | hsv(300, 15%, 18%) |
| CMYK | cmyk(0%, 14.9%, 0%, 81.6%) |
| CIE-LAB | lab(17.12, 4.83, -3.37) |
| CIE-LCH | lch(17.12, 5.89, 325.11°) |
| OKLab | oklab(28.74% 0.0133 -0.009) |
| OKLCH | oklch(28.74% 0.016 326) |
| XYZ | xyz(2.4441, 2.3272, 3.0092) |
| Luminance | 0.0233 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Dark Grey
#363737
ΔE00 8.41
Dark
#1B2431
ΔE00 9.07
Onyx
#353839
ΔE00 9.21
Charcoal (survey)
#343837
ΔE00 10.39
Gunmetal
#2A3439
ΔE00 11.28
Charcoal Grey
#3C4142
ΔE00 11.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F282F #282F28
analogous
#2C282F #2F282F #2F282C
triadic
#2F282F #2F2F28 #282F2F
tetradic
#2F282F #2F2C28 #282F28 #282C2F
square
#2F282F #2F2C28 #282F28 #282C2F
split-complementary
#2F282F #2C2F28 #282F2C
monochromatic
#110E11 #110E11 #2F282F #504450 #716071
Accessibility & contrast
On white
14.33
#2F282F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#2F282F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F282F
14.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F282F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F282F | 1.00 | 14.33 | 1.47 | 14.33 |
| #FFFFFF | 14.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#282A2F
Deuteranopia (green-blind)
#292A2F
Tritanopia (blue-blind)
#2F292A
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #2f282f; /* rgb */ color: rgb(47, 40, 47); /* oklch */ color: oklch(28.7% 0.016 326.0);
Tailwind
colors: {
custom: {
50: '#676167',
500: '#2f282f',
950: '#000000',
},
}SCSS
$custom: #2f282f; $custom-light: #676167; $custom-dark: #000000;
JSON
{
"hex": "#2f282f",
"rgb": {
"r": 47,
"g": 40,
"b": 47
},
"hsl": {
"h": 300,
"s": 8.046,
"l": 17.059
},
"oklch": {
"l": 0.28735,
"c": 0.01604,
"h": 326
},
"luminance": 0.02327
}Semantic roles & 50–950 ramp
primary
#2F282F
secondary
#545E54
accent
#B17777
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060506
muted
#7A797A