#2D0D4F#2D0D4F
#2D0D4F is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.5% C 0.112 H 300.5°. Best body text is #FFFFFF at 16.38:1 contrast (WCAG AA passes).
Color values
| HEX | #2D0D4F |
|---|---|
| RGB | rgb(45, 13, 79) |
| HSL | hsl(269, 72%, 18%) |
| HSV | hsv(269, 84%, 31%) |
| CMYK | cmyk(43%, 83.5%, 0%, 69%) |
| CIE-LAB | lab(12.03, 30.57, -33.77) |
| CIE-LCH | lch(12.03, 45.55, 312.15°) |
| OKLab | oklab(25.54% 0.0568 -0.0965) |
| OKLCH | oklch(25.54% 0.112 300.5) |
| XYZ | xyz(2.6370, 1.4102, 7.5289) |
| Luminance | 0.0141 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 3.43
Dark Violet
#34013F
ΔE00 5.17
Midnight Purple
#280137
ΔE00 5.31
Dark Purple
#35063E
ΔE00 5.51
Deep Purple
#36013F
ΔE00 5.55
Very Dark Purple
#2A0134
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D0D4F #2F4F0D
analogous
#0D0E4F #2D0D4F #4E0D4F
triadic
#2D0D4F #4F2D0D #0D4F2D
tetradic
#2D0D4F #4F0D0E #2F4F0D #0D4F4E
square
#2D0D4F #4F0D0E #2F4F0D #0D4F4E
split-complementary
#2D0D4F #4F4E0D #0E4F0D
monochromatic
#0F041A #0F041A #2D0D4F #4B1684 #691EB8
Accessibility & contrast
On white
16.38
#2D0D4F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.28
#2D0D4F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D0D4F
16.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D0D4F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D0D4F | 1.00 | 16.38 | 1.28 | 16.38 |
| #FFFFFF | 16.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#001F51
Deuteranopia (green-blind)
#001F4E
Tritanopia (blue-blind)
#251E2D
Achromatopsia (no color)
#202020
Design tokens & code
CSS
--color: #2d0d4f; /* rgb */ color: rgb(45, 13, 79); /* oklch */ color: oklch(25.5% 0.112 300.5);
Tailwind
colors: {
custom: {
50: '#6a5081',
500: '#2d0d4f',
950: '#000000',
},
}SCSS
$custom: #2d0d4f; $custom-light: #6a5081; $custom-dark: #000000;
JSON
{
"hex": "#2d0d4f",
"rgb": {
"r": 45,
"g": 13,
"b": 79
},
"hsl": {
"h": 269.091,
"s": 71.739,
"l": 18.039
},
"oklch": {
"l": 0.25543,
"c": 0.11194,
"h": 300.5
},
"luminance": 0.0141
}Semantic roles & 50–950 ramp
primary
#2D0D4F
secondary
#5D8A2E
accent
#EE3997
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#07020A
muted
#7A787C