#2D0E5D#2D0E5D
#2D0E5D is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.1% C 0.128 H 293.7°. Best body text is #FFFFFF at 15.76:1 contrast (WCAG AA passes).
Color values
| HEX | #2D0E5D |
|---|---|
| RGB | rgb(45, 14, 93) |
| HSL | hsl(264, 74%, 21%) |
| HSV | hsv(264, 85%, 36%) |
| CMYK | cmyk(51.6%, 84.9%, 0%, 63.5%) |
| CIE-LAB | lab(13.60, 34.09, -40.69) |
| CIE-LCH | lch(13.60, 53.08, 309.96°) |
| OKLab | oklab(27.08% 0.0513 -0.1168) |
| OKLCH | oklch(27.08% 0.128 293.7) |
| XYZ | xyz(3.2145, 1.6622, 10.5053) |
| Luminance | 0.0166 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 2.58
Darkblue (survey)
#030764
ΔE00 5.39
Midnight Blue
#191970
ΔE00 5.58
Dark Blue
#00035B
ΔE00 5.61
Royal Purple (survey)
#4B006E
ΔE00 6.05
Dark Royal Blue
#02066F
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D0E5D #3E5D0E
analogous
#0E165D #2D0E5D #540E5D
triadic
#2D0E5D #5D2D0E #0E5D2D
tetradic
#2D0E5D #5D0E16 #3E5D0E #0E5D54
square
#2D0E5D #5D0E16 #3E5D0E #0E5D54
split-complementary
#2D0E5D #5D540E #165D0E
monochromatic
#0D041B #130628 #2D0E5D #471692 #601EC7
Accessibility & contrast
On white
15.76
#2D0E5D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.33
#2D0E5D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D0E5D
15.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D0E5D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D0E5D | 1.00 | 15.76 | 1.33 | 15.76 |
| #FFFFFF | 15.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00245F
Deuteranopia (green-blind)
#00215C
Tritanopia (blue-blind)
#1E2536
Achromatopsia (no color)
#232323
Design tokens & code
CSS
--color: #2d0e5d; /* rgb */ color: rgb(45, 14, 93); /* oklch */ color: oklch(27.1% 0.128 293.7);
Tailwind
colors: {
custom: {
50: '#6c518c',
500: '#2d0e5d',
950: '#000000',
},
}SCSS
$custom: #2d0e5d; $custom-light: #6c518c; $custom-dark: #000000;
JSON
{
"hex": "#2d0e5d",
"rgb": {
"r": 45,
"g": 14,
"b": 93
},
"hsl": {
"h": 263.544,
"s": 73.832,
"l": 20.98
},
"oklch": {
"l": 0.27078,
"c": 0.12756,
"h": 293.7
},
"luminance": 0.01662
}Semantic roles & 50–950 ramp
primary
#2D0E5D
secondary
#6E9730
accent
#F037A8
background
#F6F4F8
surface
#ECE7F0
border
#C7C3CB
text
#07020C
muted
#7A787D