#2D0F5D#2D0F5D
#2D0F5D is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.2% C 0.127 H 293.5°. Best body text is #FFFFFF at 15.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2D0F5D |
|---|---|
| RGB | rgb(45, 15, 93) |
| HSL | hsl(263, 72%, 21%) |
| HSV | hsv(263, 84%, 36%) |
| CMYK | cmyk(51.6%, 83.9%, 0%, 63.5%) |
| CIE-LAB | lab(13.77, 33.62, -40.42) |
| CIE-LCH | lch(13.77, 52.58, 309.75°) |
| OKLab | oklab(27.19% 0.0505 -0.116) |
| OKLCH | oklch(27.19% 0.127 293.5) |
| XYZ | xyz(3.2282, 1.6897, 10.5099) |
| Luminance | 0.0169 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 2.61
Darkblue (survey)
#030764
ΔE00 5.44
Midnight Blue
#191970
ΔE00 5.50
Dark Blue
#00035B
ΔE00 5.68
Dark Royal Blue
#02066F
ΔE00 6.11
Royal Purple (survey)
#4B006E
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D0F5D #3F5D0F
analogous
#0F185D #2D0F5D #540F5D
triadic
#2D0F5D #5D2D0F #0F5D2D
tetradic
#2D0F5D #5D0F18 #3F5D0F #0F5D54
square
#2D0F5D #5D0F18 #3F5D0F #0F5D54
split-complementary
#2D0F5D #5D540F #185D0F
monochromatic
#0D041A #130628 #2D0F5D #461792 #6020C6
Accessibility & contrast
On white
15.70
#2D0F5D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.34
#2D0F5D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D0F5D
15.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D0F5D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D0F5D | 1.00 | 15.70 | 1.34 | 15.70 |
| #FFFFFF | 15.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00245F
Deuteranopia (green-blind)
#00225C
Tritanopia (blue-blind)
#1E2536
Achromatopsia (no color)
#232323
Design tokens & code
CSS
--color: #2d0f5d; /* rgb */ color: rgb(45, 15, 93); /* oklch */ color: oklch(27.2% 0.127 293.5);
Tailwind
colors: {
custom: {
50: '#6c518c',
500: '#2d0f5d',
950: '#000000',
},
}SCSS
$custom: #2d0f5d; $custom-light: #6c518c; $custom-dark: #000000;
JSON
{
"hex": "#2d0f5d",
"rgb": {
"r": 45,
"g": 15,
"b": 93
},
"hsl": {
"h": 263.077,
"s": 72.222,
"l": 21.176
},
"oklch": {
"l": 0.27191,
"c": 0.12651,
"h": 293.5
},
"luminance": 0.0169
}Semantic roles & 50–950 ramp
primary
#2D0F5D
secondary
#709631
accent
#EF39A9
background
#F6F4F8
surface
#ECE7F0
border
#C7C3CB
text
#07020C
muted
#7A787D