#2C212F#2C212F
#2C212F is a dark, muted purple. Relative luminance 0.018; OKLCH L 26.7% C 0.030 H 318.9°. Best body text is #FFFFFF at 15.38:1 contrast (WCAG AA passes).
Color values
| HEX | #2C212F |
|---|---|
| RGB | rgb(44, 33, 47) |
| HSL | hsl(287, 18%, 16%) |
| HSV | hsv(287, 30%, 18%) |
| CMYK | cmyk(6.4%, 29.8%, 0%, 81.6%) |
| CIE-LAB | lab(14.56, 8.48, -7.25) |
| CIE-LCH | lch(14.56, 11.16, 319.46°) |
| OKLab | oklab(26.67% 0.0225 -0.0196) |
| OKLCH | oklch(26.67% 0.03 318.9) |
| XYZ | xyz(2.0956, 1.8285, 2.9313) |
| Luminance | 0.0183 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Dark
#1B2431
ΔE00 11.09
Very Dark Brown
#1D0200
ΔE00 11.54
Navy Blue
#1B2A4A
ΔE00 11.95
Eggplant
#380835
ΔE00 12.75
Dark Grey
#363737
ΔE00 12.91
Aubergine
#3D0734
ΔE00 13.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C212F #242F21
analogous
#25212F #2C212F #2F212B
triadic
#2C212F #2F2C21 #212F2C
tetradic
#2C212F #2F2521 #242F21 #212B2F
square
#2C212F #2F2521 #242F21 #212B2F
split-complementary
#2C212F #2B2F21 #212F25
monochromatic
#110D12 #110D12 #2C212F #4E3A53 #6F5377
Accessibility & contrast
On white
15.38
#2C212F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.37
#2C212F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C212F
15.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C212F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C212F | 1.00 | 15.38 | 1.37 | 15.38 |
| #FFFFFF | 15.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F2430
Deuteranopia (green-blind)
#22252F
Tritanopia (blue-blind)
#2C2226
Achromatopsia (no color)
#252525
Design tokens & code
CSS
--color: #2c212f; /* rgb */ color: rgb(44, 33, 47); /* oklch */ color: oklch(26.7% 0.030 318.9);
Tailwind
colors: {
custom: {
50: '#655c67',
500: '#2c212f',
950: '#000000',
},
}SCSS
$custom: #2c212f; $custom-light: #655c67; $custom-dark: #000000;
JSON
{
"hex": "#2c212f",
"rgb": {
"r": 44,
"g": 33,
"b": 47
},
"hsl": {
"h": 287.143,
"s": 17.5,
"l": 15.686
},
"oklch": {
"l": 0.26675,
"c": 0.0299,
"h": 318.9
},
"luminance": 0.01828
}Semantic roles & 50–950 ramp
primary
#2C212F
secondary
#50604B
accent
#BA6E7E
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#050406
muted
#7A797A