#3D1390#3D1390
#3D1390 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.9% C 0.181 H 287.9°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).
Color values
| HEX | #3D1390 |
|---|---|
| RGB | rgb(61, 19, 144) |
| HSL | hsl(260, 77%, 32%) |
| HSV | hsv(260, 87%, 56%) |
| CMYK | cmyk(57.6%, 86.8%, 0%, 43.5%) |
| CIE-LAB | lab(21.84, 48.36, -59.90) |
| CIE-LCH | lch(21.84, 76.98, 308.92°) |
| OKLab | oklab(34.86% 0.0556 -0.1724) |
| OKLCH | oklch(34.86% 0.181 287.9) |
| XYZ | xyz(7.1899, 3.4711, 26.6713) |
| Luminance | 0.0347 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.02
Indigo
#4B0082
ΔE00 3.97
Indigo Blue
#3A18B1
ΔE00 4.72
Royal
#0C1793
ΔE00 4.72
Cobalt Blue
#030AA7
ΔE00 5.13
Ultramarine
#2000B1
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D1390 #669013
analogous
#132890 #3D1390 #7C1390
triadic
#3D1390 #903D13 #13903D
tetradic
#3D1390 #901328 #669013 #13907C
square
#3D1390 #901328 #669013 #13907C
split-complementary
#3D1390 #907C13 #289013
monochromatic
#0F0524 #260C5A #3D1390 #541AC6 #7239E5
Accessibility & contrast
On white
12.40
#3D1390 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#3D1390 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D1390
12.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D1390 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D1390 | 1.00 | 12.40 | 1.69 | 12.40 |
| #FFFFFF | 12.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003793
Deuteranopia (green-blind)
#00318E
Tritanopia (blue-blind)
#163B54
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #3d1390; /* rgb */ color: rgb(61, 19, 144); /* oklch */ color: oklch(34.9% 0.181 287.9);
Tailwind
colors: {
custom: {
50: '#7e59b2',
500: '#3d1390',
950: '#000000',
},
}SCSS
$custom: #3d1390; $custom-light: #7e59b2; $custom-dark: #000000;
JSON
{
"hex": "#3d1390",
"rgb": {
"r": 61,
"g": 19,
"b": 144
},
"hsl": {
"h": 260.16,
"s": 76.687,
"l": 31.961
},
"oklch": {
"l": 0.34862,
"c": 0.18118,
"h": 287.9
},
"luminance": 0.03471
}Semantic roles & 50–950 ramp
primary
#3D1390
secondary
#96C43B
accent
#F335B3
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980