#3E1890#3E1890
#3E1890 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.4% C 0.177 H 287.9°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).
Color values
| HEX | #3E1890 |
|---|---|
| RGB | rgb(62, 24, 144) |
| HSL | hsl(259, 71%, 33%) |
| HSV | hsv(259, 83%, 56%) |
| CMYK | cmyk(56.9%, 83.3%, 0%, 43.5%) |
| CIE-LAB | lab(22.62, 46.51, -58.60) |
| CIE-LCH | lch(22.62, 74.82, 308.44°) |
| OKLab | oklab(35.43% 0.0544 -0.1687) |
| OKLCH | oklch(35.43% 0.177 287.9) |
| XYZ | xyz(7.3458, 3.6906, 26.7054) |
| Luminance | 0.0369 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.64
Indigo
#4B0082
ΔE00 4.35
Indigo Blue
#3A18B1
ΔE00 4.61
Royal
#0C1793
ΔE00 4.79
Cobalt Blue
#030AA7
ΔE00 5.44
Ultramarine
#2000B1
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E1890 #6A9018
analogous
#182E90 #3E1890 #7A1890
triadic
#3E1890 #903E18 #18903E
tetradic
#3E1890 #90182E #6A9018 #18907A
square
#3E1890 #90182E #6A9018 #18907A
split-complementary
#3E1890 #907A18 #2E9018
monochromatic
#110727 #270F5C #3E1890 #5521C4 #7443E0
Accessibility & contrast
On white
12.08
#3E1890 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#3E1890 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E1890
12.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E1890 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E1890 | 1.00 | 12.08 | 1.74 | 12.08 |
| #FFFFFF | 12.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003993
Deuteranopia (green-blind)
#00338E
Tritanopia (blue-blind)
#193C55
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #3e1890; /* rgb */ color: rgb(62, 24, 144); /* oklch */ color: oklch(35.4% 0.177 287.9);
Tailwind
colors: {
custom: {
50: '#7e5bb2',
500: '#3e1890',
950: '#000000',
},
}SCSS
$custom: #3e1890; $custom-light: #7e5bb2; $custom-dark: #000000;
JSON
{
"hex": "#3e1890",
"rgb": {
"r": 62,
"g": 24,
"b": 144
},
"hsl": {
"h": 259,
"s": 71.429,
"l": 32.941
},
"oklch": {
"l": 0.35426,
"c": 0.17725,
"h": 287.9
},
"luminance": 0.03691
}Semantic roles & 50–950 ramp
primary
#3E1890
secondary
#99C043
accent
#EE3AB5
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980