#3E1689#3E1689
#3E1689 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.5% C 0.171 H 289.9°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).
Color values
| HEX | #3E1689 |
|---|---|
| RGB | rgb(62, 22, 137) |
| HSL | hsl(261, 72%, 31%) |
| HSV | hsv(261, 84%, 54%) |
| CMYK | cmyk(54.7%, 83.9%, 0%, 46.3%) |
| CIE-LAB | lab(21.59, 45.40, -55.93) |
| CIE-LCH | lch(21.59, 72.04, 309.07°) |
| OKLab | oklab(34.49% 0.0582 -0.1609) |
| OKLCH | oklch(34.49% 0.171 289.9) |
| XYZ | xyz(6.7876, 3.4038, 23.9614) |
| Luminance | 0.0340 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 2.87
Indigo
#4B0082
ΔE00 3.61
Royal
#0C1793
ΔE00 5.15
Indigo Blue
#3A18B1
ΔE00 5.71
Cobalt Blue
#030AA7
ΔE00 6.09
Darkblue
#00008B
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E1689 #618916
analogous
#162789 #3E1689 #771689
triadic
#3E1689 #893E16 #16893E
tetradic
#3E1689 #891627 #618916 #168977
square
#3E1689 #891627 #618916 #168977
split-complementary
#3E1689 #897716 #278916
monochromatic
#0E0520 #260E54 #3E1689 #561EBE #743ADF
Accessibility & contrast
On white
12.49
#3E1689 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#3E1689 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E1689
12.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E1689 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E1689 | 1.00 | 12.49 | 1.68 | 12.49 |
| #FFFFFF | 12.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00368C
Deuteranopia (green-blind)
#003187
Tritanopia (blue-blind)
#213951
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #3e1689; /* rgb */ color: rgb(62, 22, 137); /* oklch */ color: oklch(34.5% 0.171 289.9);
Tailwind
colors: {
custom: {
50: '#7d5aad',
500: '#3e1689',
950: '#000000',
},
}SCSS
$custom: #3e1689; $custom-light: #7d5aad; $custom-dark: #000000;
JSON
{
"hex": "#3e1689",
"rgb": {
"r": 62,
"g": 22,
"b": 137
},
"hsl": {
"h": 260.87,
"s": 72.327,
"l": 31.176
},
"oklch": {
"l": 0.34495,
"c": 0.17108,
"h": 289.9
},
"luminance": 0.03404
}Semantic roles & 50–950 ramp
primary
#3E1689
secondary
#91BD3E
accent
#EF39B0
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F