#2F0C2F#2F0C2F
#2F0C2F is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.0% C 0.077 H 327.7°. Best body text is #FFFFFF at 17.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2F0C2F |
|---|---|
| RGB | rgb(47, 12, 47) |
| HSL | hsl(300, 59%, 12%) |
| HSV | hsv(300, 74%, 18%) |
| CMYK | cmyk(0%, 74.5%, 0%, 81.6%) |
| CIE-LAB | lab(9.58, 23.42, -14.93) |
| CIE-LCH | lch(9.58, 27.77, 327.49°) |
| OKLab | oklab(23.05% 0.0652 -0.0412) |
| OKLCH | oklch(23.05% 0.077 327.7) |
| XYZ | xyz(1.8168, 1.0726, 2.8001) |
| Luminance | 0.0107 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Eggplant
#380835
ΔE00 2.83
Aubergine
#3D0734
ΔE00 3.87
Very Dark Purple
#2A0134
ΔE00 4.65
Dark Purple
#35063E
ΔE00 4.97
Midnight Purple
#280137
ΔE00 5.69
Dark Plum
#3F012C
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F0C2F #0C2F0C
analogous
#1E0C2F #2F0C2F #2F0C1E
triadic
#2F0C2F #2F2F0C #0C2F2F
tetradic
#2F0C2F #2F1E0C #0C2F0C #0C1E2F
square
#2F0C2F #2F1E0C #0C2F0C #0C1E2F
split-complementary
#2F0C2F #1E2F0C #0C2F1E
monochromatic
#180618 #180618 #2F0C2F #601860 #912591
Accessibility & contrast
On white
17.29
#2F0C2F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.21
#2F0C2F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F0C2F
17.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F0C2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F0C2F | 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)
#081830
Deuteranopia (green-blind)
#141C2E
Tritanopia (blue-blind)
#31101C
Achromatopsia (no color)
#1B1B1B
Design tokens & code
CSS
--color: #2f0c2f; /* rgb */ color: rgb(47, 12, 47); /* oklch */ color: oklch(23.0% 0.077 327.7);
Tailwind
colors: {
custom: {
50: '#694e67',
500: '#2f0c2f',
950: '#000000',
},
}SCSS
$custom: #2f0c2f; $custom-light: #694e67; $custom-dark: #000000;
JSON
{
"hex": "#2f0c2f",
"rgb": {
"r": 47,
"g": 12,
"b": 47
},
"hsl": {
"h": 300,
"s": 59.322,
"l": 11.569
},
"oklch": {
"l": 0.23049,
"c": 0.07715,
"h": 327.7
},
"luminance": 0.01073
}Semantic roles & 50–950 ramp
primary
#2F0C2F
secondary
#2C6B2C
accent
#E34545
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A