#3E2589#3E2589
#3E2589 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.3% C 0.156 H 287.4°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).
Color values
| HEX | #3E2589 |
|---|---|
| RGB | rgb(62, 37, 137) |
| HSL | hsl(255, 57%, 34%) |
| HSV | hsv(255, 73%, 54%) |
| CMYK | cmyk(54.7%, 73%, 0%, 46.3%) |
| CIE-LAB | lab(24.17, 38.04, -51.70) |
| CIE-LCH | lch(24.17, 64.18, 306.35°) |
| OKLab | oklab(36.3% 0.0465 -0.1486) |
| OKLCH | oklch(36.3% 0.156 287.4) |
| XYZ | xyz(7.1622, 4.1530, 24.0863) |
| Luminance | 0.0415 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal
#0C1793
ΔE00 5.77
Indigo (survey)
#380282
ΔE00 5.80
Indigo Blue
#3A18B1
ΔE00 6.17
Indigo
#4B0082
ΔE00 6.20
Midnight Blue
#191970
ΔE00 6.35
Darkslateblue
#483D8B
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E2589 #708925
analogous
#253E89 #3E2589 #702589
triadic
#3E2589 #893E25 #25893E
tetradic
#3E2589 #89253E #708925 #258970
square
#3E2589 #89253E #708925 #258970
split-complementary
#3E2589 #897025 #3E8925
monochromatic
#120B29 #281859 #3E2589 #5432B9 #7657D2
Accessibility & contrast
On white
11.47
#3E2589 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#3E2589 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E2589
11.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E2589 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E2589 | 1.00 | 11.47 | 1.83 | 11.47 |
| #FFFFFF | 11.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C8C
Deuteranopia (green-blind)
#003787
Tritanopia (blue-blind)
#203F54
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #3e2589; /* rgb */ color: rgb(62, 37, 137); /* oklch */ color: oklch(36.3% 0.156 287.4);
Tailwind
colors: {
custom: {
50: '#7c62ac',
500: '#3e2589',
950: '#000000',
},
}SCSS
$custom: #3e2589; $custom-light: #7c62ac; $custom-dark: #000000;
JSON
{
"hex": "#3e2589",
"rgb": {
"r": 62,
"g": 37,
"b": 137
},
"hsl": {
"h": 255,
"s": 57.471,
"l": 34.118
},
"oklch": {
"l": 0.36301,
"c": 0.15572,
"h": 287.4
},
"luminance": 0.04153
}Semantic roles & 50–950 ramp
primary
#3E2589
secondary
#9DB654
accent
#E147BA
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F