#2F0C2C#2F0C2C
#2F0C2C is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.9% C 0.074 H 331.2°. Best body text is #FFFFFF at 17.36:1 contrast (WCAG AA passes).
Color values
| HEX | #2F0C2C |
|---|---|
| RGB | rgb(47, 12, 44) |
| HSL | hsl(305, 59%, 12%) |
| HSV | hsv(305, 74%, 18%) |
| CMYK | cmyk(0%, 74.5%, 6.4%, 81.6%) |
| CIE-LAB | lab(9.40, 22.78, -13.00) |
| CIE-LCH | lch(9.40, 26.23, 330.28°) |
| OKLab | oklab(22.85% 0.0649 -0.0357) |
| OKLCH | oklch(22.85% 0.074 331.2) |
| XYZ | xyz(1.7584, 1.0493, 2.4923) |
| Luminance | 0.0105 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Eggplant
#380835
ΔE00 3.40
Aubergine
#3D0734
ΔE00 4.01
Dark Plum
#3F012C
ΔE00 5.36
Very Dark Purple
#2A0134
ΔE00 5.61
Dark Purple
#35063E
ΔE00 5.98
Eggplant Purple
#430541
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F0C2C #0C2F0F
analogous
#210C2F #2F0C2C #2F0C1B
triadic
#2F0C2C #2C2F0C #0C2C2F
tetradic
#2F0C2C #2F210C #0C2F0F #0C1B2F
square
#2F0C2C #2F210C #0C2F0F #0C1B2F
split-complementary
#2F0C2C #1B2F0C #0C2F21
monochromatic
#180617 #180617 #2F0C2C #60185A #912587
Accessibility & contrast
On white
17.36
#2F0C2C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.21
#2F0C2C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F0C2C
17.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F0C2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F0C2C | 1.00 | 17.36 | 1.21 | 17.36 |
| #FFFFFF | 17.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A172D
Deuteranopia (green-blind)
#161C2B
Tritanopia (blue-blind)
#310F1A
Achromatopsia (no color)
#1A1A1A
Design tokens & code
CSS
--color: #2f0c2c; /* rgb */ color: rgb(47, 12, 44); /* oklch */ color: oklch(22.9% 0.074 331.2);
Tailwind
colors: {
custom: {
50: '#694d65',
500: '#2f0c2c',
950: '#000000',
},
}SCSS
$custom: #2f0c2c; $custom-light: #694d65; $custom-dark: #000000;
JSON
{
"hex": "#2f0c2c",
"rgb": {
"r": 47,
"g": 12,
"b": 44
},
"hsl": {
"h": 305.143,
"s": 59.322,
"l": 11.569
},
"oklch": {
"l": 0.22852,
"c": 0.07404,
"h": 331.2
},
"luminance": 0.01049
}Semantic roles & 50–950 ramp
primary
#2F0C2C
secondary
#2C6B31
accent
#E35345
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060105
muted
#7A777A