#3E1990#3E1990
#3E1990 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.5% C 0.176 H 287.8°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).
Color values
| HEX | #3E1990 |
|---|---|
| RGB | rgb(62, 25, 144) |
| HSL | hsl(259, 70%, 33%) |
| HSV | hsv(259, 83%, 56%) |
| CMYK | cmyk(56.9%, 82.6%, 0%, 43.5%) |
| CIE-LAB | lab(22.77, 46.08, -58.36) |
| CIE-LCH | lch(22.77, 74.36, 308.29°) |
| OKLab | oklab(35.53% 0.0538 -0.168) |
| OKLCH | oklch(35.53% 0.176 287.8) |
| XYZ | xyz(7.3668, 3.7326, 26.7124) |
| Luminance | 0.0373 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.77
Indigo
#4B0082
ΔE00 4.47
Indigo Blue
#3A18B1
ΔE00 4.60
Royal
#0C1793
ΔE00 4.79
Cobalt Blue
#030AA7
ΔE00 5.49
Ultramarine
#2000B1
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E1990 #6B9019
analogous
#193090 #3E1990 #791990
triadic
#3E1990 #903E19 #19903E
tetradic
#3E1990 #901930 #6B9019 #199079
square
#3E1990 #901930 #6B9019 #199079
split-complementary
#3E1990 #907919 #309019
monochromatic
#110728 #28105C #3E1990 #5422C4 #7545DF
Accessibility & contrast
On white
12.02
#3E1990 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#3E1990 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E1990
12.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E1990 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E1990 | 1.00 | 12.02 | 1.75 | 12.02 |
| #FFFFFF | 12.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003993
Deuteranopia (green-blind)
#00338E
Tritanopia (blue-blind)
#193D55
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #3e1990; /* rgb */ color: rgb(62, 25, 144); /* oklch */ color: oklch(35.5% 0.176 287.8);
Tailwind
colors: {
custom: {
50: '#7e5cb2',
500: '#3e1990',
950: '#000000',
},
}SCSS
$custom: #3e1990; $custom-light: #7e5cb2; $custom-dark: #000000;
JSON
{
"hex": "#3e1990",
"rgb": {
"r": 62,
"g": 25,
"b": 144
},
"hsl": {
"h": 258.655,
"s": 70.414,
"l": 33.137
},
"oklch": {
"l": 0.35526,
"c": 0.1764,
"h": 287.8
},
"luminance": 0.03733
}Semantic roles & 50–950 ramp
primary
#3E1990
secondary
#9AC045
accent
#ED3BB6
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980