#2D0D2E#2D0D2E
#2D0D2E is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.8% C 0.073 H 326.4°. Best body text is #FFFFFF at 17.38:1 contrast (WCAG AA passes).
Color values
| HEX | #2D0D2E |
|---|---|
| RGB | rgb(45, 13, 46) |
| HSL | hsl(298, 56%, 12%) |
| HSV | hsv(298, 72%, 18%) |
| CMYK | cmyk(2.2%, 71.7%, 0%, 82%) |
| CIE-LAB | lab(9.35, 22.00, -14.59) |
| CIE-LCH | lch(9.35, 26.40, 326.46°) |
| OKLab | oklab(22.78% 0.0607 -0.0403) |
| OKLCH | oklch(22.78% 0.073 326.4) |
| XYZ | xyz(1.7192, 1.0431, 2.6950) |
| Luminance | 0.0104 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Eggplant
#380835
ΔE00 3.56
Aubergine
#3D0734
ΔE00 4.57
Very Dark Purple
#2A0134
ΔE00 4.98
Dark Purple
#35063E
ΔE00 5.46
Midnight Purple
#280137
ΔE00 5.95
Dark Plum
#3F012C
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D0D2E #0E2E0D
analogous
#1D0D2E #2D0D2E #2E0D1F
triadic
#2D0D2E #2E2D0D #0D2E2D
tetradic
#2D0D2E #2E1D0D #0E2E0D #0D1F2E
square
#2D0D2E #2E1D0D #0E2E0D #0D1F2E
split-complementary
#2D0D2E #1F2E0D #0D2E1D
monochromatic
#170718 #170718 #2D0D2E #5C1A5E #8A288D
Accessibility & contrast
On white
17.38
#2D0D2E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.21
#2D0D2E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D0D2E
17.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D0D2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D0D2E | 1.00 | 17.38 | 1.21 | 17.38 |
| #FFFFFF | 17.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#09182F
Deuteranopia (green-blind)
#141C2D
Tritanopia (blue-blind)
#2E111B
Achromatopsia (no color)
#1A1A1A
Design tokens & code
CSS
--color: #2d0d2e; /* rgb */ color: rgb(45, 13, 46); /* oklch */ color: oklch(22.8% 0.073 326.4);
Tailwind
colors: {
custom: {
50: '#674e67',
500: '#2d0d2e',
950: '#000000',
},
}SCSS
$custom: #2d0d2e; $custom-light: #674e67; $custom-dark: #000000;
JSON
{
"hex": "#2d0d2e",
"rgb": {
"r": 45,
"g": 13,
"b": 46
},
"hsl": {
"h": 298.182,
"s": 55.932,
"l": 11.569
},
"oklch": {
"l": 0.22781,
"c": 0.07289,
"h": 326.4
},
"luminance": 0.01043
}Semantic roles & 50–950 ramp
primary
#2D0D2E
secondary
#30692E
accent
#DF494D
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A