#2C282F#2C282F
#2C282F is a dark, near-neutral violet. Relative luminance 0.023; OKLCH L 28.4% C 0.014 H 310.9°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).
Color values
| HEX | #2C282F |
|---|---|
| RGB | rgb(44, 40, 47) |
| HSL | hsl(274, 8%, 17%) |
| HSV | hsv(274, 15%, 18%) |
| CMYK | cmyk(6.4%, 14.9%, 0%, 81.6%) |
| CIE-LAB | lab(16.79, 3.51, -3.89) |
| CIE-LCH | lch(16.79, 5.24, 312.05°) |
| OKLab | oklab(28.4% 0.009 -0.0104) |
| OKLCH | oklch(28.4% 0.014 310.9) |
| XYZ | xyz(2.3105, 2.2583, 3.0029) |
| Luminance | 0.0226 (WCAG relative) |
| Temperature | neutral |
| Family | violet |
Closest named colors
Dark
#1B2431
ΔE00 7.37
Dark Grey
#363737
ΔE00 7.53
Onyx
#353839
ΔE00 8.09
Charcoal (survey)
#343837
ΔE00 9.26
Gunmetal
#2A3439
ΔE00 9.49
Charcoal Grey
#3C4142
ΔE00 10.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C282F #2B2F28
analogous
#29282F #2C282F #2F282F
triadic
#2C282F #2F2C28 #282F2C
tetradic
#2C282F #2F2928 #2B2F28 #282F2F
square
#2C282F #2F2928 #2B2F28 #282F2F
split-complementary
#2C282F #2F2F28 #282F29
monochromatic
#0F0E11 #0F0E11 #2C282F #4B4450 #6A6071
Accessibility & contrast
On white
14.47
#2C282F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#2C282F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C282F
14.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C282F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C282F | 1.00 | 14.47 | 1.45 | 14.47 |
| #FFFFFF | 14.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#27292F
Deuteranopia (green-blind)
#282A2F
Tritanopia (blue-blind)
#2C292A
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #2c282f; /* rgb */ color: rgb(44, 40, 47); /* oklch */ color: oklch(28.4% 0.014 310.9);
Tailwind
colors: {
custom: {
50: '#656167',
500: '#2c282f',
950: '#000000',
},
}SCSS
$custom: #2c282f; $custom-light: #656167; $custom-dark: #000000;
JSON
{
"hex": "#2c282f",
"rgb": {
"r": 44,
"g": 40,
"b": 47
},
"hsl": {
"h": 274.286,
"s": 8.046,
"l": 17.059
},
"oklch": {
"l": 0.28399,
"c": 0.0138,
"h": 310.9
},
"luminance": 0.02258
}Semantic roles & 50–950 ramp
primary
#2C282F
secondary
#595E54
accent
#B17790
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#050506
muted
#7A797A