#2C0F2E#2C0F2E
#2C0F2E is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 22.9% C 0.068 H 325.0°. Best body text is #FFFFFF at 17.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2C0F2E |
|---|---|
| RGB | rgb(44, 15, 46) |
| HSL | hsl(296, 51%, 12%) |
| HSV | hsv(296, 67%, 18%) |
| CMYK | cmyk(4.3%, 67.4%, 0%, 82%) |
| CIE-LAB | lab(9.60, 20.49, -14.20) |
| CIE-LCH | lch(9.60, 24.93, 325.28°) |
| OKLab | oklab(22.93% 0.056 -0.0392) |
| OKLCH | oklch(22.93% 0.068 325) |
| XYZ | xyz(1.7026, 1.0745, 2.7019) |
| Luminance | 0.0107 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Eggplant
#380835
ΔE00 4.29
Aubergine
#3D0734
ΔE00 5.26
Very Dark Purple
#2A0134
ΔE00 5.53
Dark Purple
#35063E
ΔE00 6.01
Midnight Purple
#280137
ΔE00 6.41
Dark Plum
#3F012C
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C0F2E #112E0F
analogous
#1D0F2E #2C0F2E #2E0F21
triadic
#2C0F2E #2E2C0F #0F2E2C
tetradic
#2C0F2E #2E1D0F #112E0F #0F212E
square
#2C0F2E #2E1D0F #112E0F #0F212E
split-complementary
#2C0F2E #212E0F #0F2E1D
monochromatic
#160817 #160817 #2C0F2E #581E5C #842D8A
Accessibility & contrast
On white
17.29
#2C0F2E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.21
#2C0F2E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C0F2E
17.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C0F2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C0F2E | 1.00 | 17.29 | 1.21 | 17.29 |
| #FFFFFF | 17.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B182F
Deuteranopia (green-blind)
#141C2D
Tritanopia (blue-blind)
#2D131C
Achromatopsia (no color)
#1B1B1B
Design tokens & code
CSS
--color: #2c0f2e; /* rgb */ color: rgb(44, 15, 46); /* oklch */ color: oklch(22.9% 0.068 325.0);
Tailwind
colors: {
custom: {
50: '#664f67',
500: '#2c0f2e',
950: '#000000',
},
}SCSS
$custom: #2c0f2e; $custom-light: #664f67; $custom-dark: #000000;
JSON
{
"hex": "#2c0f2e",
"rgb": {
"r": 44,
"g": 15,
"b": 46
},
"hsl": {
"h": 296.129,
"s": 50.82,
"l": 11.961
},
"oklch": {
"l": 0.22928,
"c": 0.06838,
"h": 325
},
"luminance": 0.01074
}Semantic roles & 50–950 ramp
primary
#2C0F2E
secondary
#356831
accent
#DA4D57
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A