#2D262F#2D262F
#2D262F is a dark, near-neutral purple. Relative luminance 0.021; OKLCH L 28.0% C 0.019 H 318.7°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).
Color values
| HEX | #2D262F |
|---|---|
| RGB | rgb(45, 38, 47) |
| HSL | hsl(287, 11%, 17%) |
| HSV | hsv(287, 19%, 18%) |
| CMYK | cmyk(4.3%, 19.1%, 0%, 81.6%) |
| CIE-LAB | lab(16.25, 5.36, -4.69) |
| CIE-LCH | lch(16.25, 7.12, 318.82°) |
| OKLab | oklab(28.01% 0.0143 -0.0126) |
| OKLCH | oklch(28.01% 0.019 318.7) |
| XYZ | xyz(2.2883, 2.1494, 2.9831) |
| Luminance | 0.0215 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Dark
#1B2431
ΔE00 8.85
Dark Grey
#363737
ΔE00 9.46
Onyx
#353839
ΔE00 10.16
Charcoal (survey)
#343837
ΔE00 11.35
Gunmetal
#2A3439
ΔE00 11.87
Very Dark Brown
#1D0200
ΔE00 11.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D262F #282F26
analogous
#29262F #2D262F #2F262D
triadic
#2D262F #2F2D26 #262F2D
tetradic
#2D262F #2F2926 #282F26 #262D2F
square
#2D262F #2F2926 #282F26 #262D2F
split-complementary
#2D262F #2D2F26 #262F29
monochromatic
#100E11 #100E11 #2D262F #4D4151 #6E5D73
Accessibility & contrast
On white
14.69
#2D262F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#2D262F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D262F
14.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D262F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D262F | 1.00 | 14.69 | 1.43 | 14.69 |
| #FFFFFF | 14.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25282F
Deuteranopia (green-blind)
#27292F
Tritanopia (blue-blind)
#2D2729
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #2d262f; /* rgb */ color: rgb(45, 38, 47); /* oklch */ color: oklch(28.0% 0.019 318.7);
Tailwind
colors: {
custom: {
50: '#656067',
500: '#2d262f',
950: '#000000',
},
}SCSS
$custom: #2d262f; $custom-light: #656067; $custom-dark: #000000;
JSON
{
"hex": "#2d262f",
"rgb": {
"r": 45,
"g": 38,
"b": 47
},
"hsl": {
"h": 286.667,
"s": 10.588,
"l": 16.667
},
"oklch": {
"l": 0.28009,
"c": 0.01905,
"h": 318.7
},
"luminance": 0.02149
}Semantic roles & 50–950 ramp
primary
#2D262F
secondary
#555F52
accent
#B47482
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#050406
muted
#7A797A