#3E1690#3E1690
#3E1690 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.2% C 0.179 H 288.1°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).
Color values
| HEX | #3E1690 |
|---|---|
| RGB | rgb(62, 22, 144) |
| HSL | hsl(260, 73%, 33%) |
| HSV | hsv(260, 85%, 56%) |
| CMYK | cmyk(56.9%, 84.7%, 0%, 43.5%) |
| CIE-LAB | lab(22.34, 47.33, -59.06) |
| CIE-LCH | lch(22.34, 75.69, 308.70°) |
| OKLab | oklab(35.23% 0.0556 -0.17) |
| OKLCH | oklch(35.23% 0.179 288.1) |
| XYZ | xyz(7.3061, 3.6112, 26.6922) |
| Luminance | 0.0361 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.38
Indigo
#4B0082
ΔE00 4.14
Indigo Blue
#3A18B1
ΔE00 4.65
Royal
#0C1793
ΔE00 4.81
Cobalt Blue
#030AA7
ΔE00 5.35
Ultramarine
#2000B1
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E1690 #689016
analogous
#162B90 #3E1690 #7B1690
triadic
#3E1690 #903E16 #16903E
tetradic
#3E1690 #90162B #689016 #16907B
square
#3E1690 #90162B #689016 #16907B
split-complementary
#3E1690 #907B16 #2B9016
monochromatic
#100626 #270E5B #3E1690 #551EC5 #743FE2
Accessibility & contrast
On white
12.19
#3E1690 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#3E1690 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E1690
12.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E1690 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E1690 | 1.00 | 12.19 | 1.72 | 12.19 |
| #FFFFFF | 12.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003893
Deuteranopia (green-blind)
#00328E
Tritanopia (blue-blind)
#193C55
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #3e1690; /* rgb */ color: rgb(62, 22, 144); /* oklch */ color: oklch(35.2% 0.179 288.1);
Tailwind
colors: {
custom: {
50: '#7e5ab2',
500: '#3e1690',
950: '#000000',
},
}SCSS
$custom: #3e1690; $custom-light: #7e5ab2; $custom-dark: #000000;
JSON
{
"hex": "#3e1690",
"rgb": {
"r": 62,
"g": 22,
"b": 144
},
"hsl": {
"h": 259.672,
"s": 73.494,
"l": 32.549
},
"oklch": {
"l": 0.35233,
"c": 0.17888,
"h": 288.1
},
"luminance": 0.03612
}Semantic roles & 50–950 ramp
primary
#3E1690
secondary
#97C240
accent
#F038B4
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980