#3D1E7F#3D1E7F
#3D1E7F is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.3% C 0.152 H 290.7°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).
Color values
| HEX | #3D1E7F |
|---|---|
| RGB | rgb(61, 30, 127) |
| HSL | hsl(259, 62%, 31%) |
| HSV | hsv(259, 76%, 50%) |
| CMYK | cmyk(52%, 76.4%, 0%, 50.2%) |
| CIE-LAB | lab(21.77, 38.66, -49.34) |
| CIE-LCH | lch(21.77, 62.68, 308.08°) |
| OKLab | oklab(34.29% 0.0537 -0.1417) |
| OKLCH | oklch(34.29% 0.152 290.7) |
| XYZ | xyz(6.2184, 3.4527, 20.4133) |
| Luminance | 0.0345 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.34
Indigo
#4B0082
ΔE00 4.77
Midnight Blue
#191970
ΔE00 5.49
Royal
#0C1793
ΔE00 6.04
Royal Purple (survey)
#4B006E
ΔE00 6.25
Indigo Blue
#3A18B1
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D1E7F #607F1E
analogous
#1E307F #3D1E7F #6D1E7F
triadic
#3D1E7F #7F3D1E #1E7F3D
tetradic
#3D1E7F #7F1E30 #607F1E #1E7F6D
square
#3D1E7F #7F1E30 #607F1E #1E7F6D
split-complementary
#3D1E7F #7F6D1E #307F1E
monochromatic
#0D071C #25124D #3D1E7F #552AB1 #7244D3
Accessibility & contrast
On white
12.42
#3D1E7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#3D1E7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D1E7F
12.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D1E7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D1E7F | 1.00 | 12.42 | 1.69 | 12.42 |
| #FFFFFF | 12.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003682
Deuteranopia (green-blind)
#00327D
Tritanopia (blue-blind)
#26384D
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #3d1e7f; /* rgb */ color: rgb(61, 30, 127); /* oklch */ color: oklch(34.3% 0.152 290.7);
Tailwind
colors: {
custom: {
50: '#7a5da5',
500: '#3d1e7f',
950: '#000000',
},
}SCSS
$custom: #3d1e7f; $custom-light: #7a5da5; $custom-dark: #000000;
JSON
{
"hex": "#3d1e7f",
"rgb": {
"r": 61,
"g": 30,
"b": 127
},
"hsl": {
"h": 259.175,
"s": 61.783,
"l": 30.784
},
"oklch": {
"l": 0.34289,
"c": 0.15151,
"h": 290.7
},
"luminance": 0.03453
}Semantic roles & 50–950 ramp
primary
#3D1E7F
secondary
#90B247
accent
#E543B1
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F