#3E1996#3E1996
#3E1996 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.2% C 0.183 H 286.4°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).
Color values
| HEX | #3E1996 |
|---|---|
| RGB | rgb(62, 25, 150) |
| HSL | hsl(258, 71%, 34%) |
| HSV | hsv(258, 83%, 59%) |
| CMYK | cmyk(58.7%, 83.3%, 0%, 41.2%) |
| CIE-LAB | lab(23.41, 47.77, -61.02) |
| CIE-LCH | lch(23.41, 77.49, 308.06°) |
| OKLab | oklab(36.16% 0.0517 -0.1757) |
| OKLCH | oklch(36.16% 0.183 286.4) |
| XYZ | xyz(7.8376, 3.9209, 29.1921) |
| Luminance | 0.0392 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.72
Indigo (survey)
#380282
ΔE00 4.32
Royal
#0C1793
ΔE00 4.70
Ultramarine
#2000B1
ΔE00 4.92
Indigo
#4B0082
ΔE00 4.99
Cobalt Blue
#030AA7
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E1996 #719619
analogous
#193396 #3E1996 #7D1996
triadic
#3E1996 #963E19 #19963E
tetradic
#3E1996 #961933 #719619 #19967D
square
#3E1996 #961933 #719619 #19967D
split-complementary
#3E1996 #967D19 #339619
monochromatic
#13082D #281062 #3E1996 #5422CA #7649E1
Accessibility & contrast
On white
11.77
#3E1996 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#3E1996 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E1996
11.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E1996 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E1996 | 1.00 | 11.77 | 1.78 | 11.77 |
| #FFFFFF | 11.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B99
Deuteranopia (green-blind)
#003494
Tritanopia (blue-blind)
#103F59
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #3e1996; /* rgb */ color: rgb(62, 25, 150); /* oklch */ color: oklch(36.2% 0.183 286.4);
Tailwind
colors: {
custom: {
50: '#7f5cb6',
500: '#3e1996',
950: '#000000',
},
}SCSS
$custom: #3e1996; $custom-light: #7f5cb6; $custom-dark: #000000;
JSON
{
"hex": "#3e1996",
"rgb": {
"r": 62,
"g": 25,
"b": 150
},
"hsl": {
"h": 257.76,
"s": 71.429,
"l": 34.314
},
"oklch": {
"l": 0.3616,
"c": 0.18319,
"h": 286.4
},
"luminance": 0.03921
}Semantic roles & 50–950 ramp
primary
#3E1996
secondary
#9EC249
accent
#EE3AB9
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980