#3E2189#3E2189
#3E2189 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.8% C 0.160 H 288.2°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).
Color values
| HEX | #3E2189 |
|---|---|
| RGB | rgb(62, 33, 137) |
| HSL | hsl(257, 61%, 33%) |
| HSV | hsv(257, 76%, 54%) |
| CMYK | cmyk(54.7%, 75.9%, 0%, 46.3%) |
| CIE-LAB | lab(23.40, 40.21, -52.97) |
| CIE-LCH | lch(23.40, 66.50, 307.21°) |
| OKLab | oklab(35.75% 0.05 -0.1523) |
| OKLCH | oklch(35.75% 0.16 288.2) |
| XYZ | xyz(7.0445, 3.9176, 24.0471) |
| Luminance | 0.0392 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.88
Indigo
#4B0082
ΔE00 5.35
Royal
#0C1793
ΔE00 5.41
Indigo Blue
#3A18B1
ΔE00 5.87
Midnight Blue
#191970
ΔE00 6.21
Cobalt Blue
#030AA7
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E2189 #6C8921
analogous
#213889 #3E2189 #722189
triadic
#3E2189 #893E21 #21893E
tetradic
#3E2189 #892138 #6C8921 #218972
square
#3E2189 #892138 #6C8921 #218972
split-complementary
#3E2189 #897221 #388921
monochromatic
#110926 #281558 #3E2189 #542DBA #7550D5
Accessibility & contrast
On white
11.77
#3E2189 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#3E2189 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E2189
11.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E2189 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E2189 | 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)
#003A8C
Deuteranopia (green-blind)
#003587
Tritanopia (blue-blind)
#203D53
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #3e2189; /* rgb */ color: rgb(62, 33, 137); /* oklch */ color: oklch(35.8% 0.160 288.2);
Tailwind
colors: {
custom: {
50: '#7c60ac',
500: '#3e2189',
950: '#000000',
},
}SCSS
$custom: #3e2189; $custom-light: #7c60ac; $custom-dark: #000000;
JSON
{
"hex": "#3e2189",
"rgb": {
"r": 62,
"g": 33,
"b": 137
},
"hsl": {
"h": 256.731,
"s": 61.176,
"l": 33.333
},
"oklch": {
"l": 0.35753,
"c": 0.1603,
"h": 288.2
},
"luminance": 0.03918
}Semantic roles & 50–950 ramp
primary
#3E2189
secondary
#9AB84E
accent
#E444B7
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0510
muted
#7C797F