#3E1889#3E1889
#3E1889 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.7% C 0.169 H 289.6°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).
Color values
| HEX | #3E1889 |
|---|---|
| RGB | rgb(62, 24, 137) |
| HSL | hsl(260, 70%, 32%) |
| HSV | hsv(260, 82%, 54%) |
| CMYK | cmyk(54.7%, 82.5%, 0%, 46.3%) |
| CIE-LAB | lab(21.88, 44.55, -55.45) |
| CIE-LCH | lch(21.88, 71.14, 308.78°) |
| OKLab | oklab(34.7% 0.0569 -0.1595) |
| OKLCH | oklch(34.7% 0.169 289.6) |
| XYZ | xyz(6.8273, 3.4832, 23.9746) |
| Luminance | 0.0348 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.18
Indigo
#4B0082
ΔE00 3.86
Royal
#0C1793
ΔE00 5.14
Indigo Blue
#3A18B1
ΔE00 5.68
Cobalt Blue
#030AA7
ΔE00 6.17
Darkblue
#00008B
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E1889 #638918
analogous
#182B89 #3E1889 #771889
triadic
#3E1889 #893E18 #18893E
tetradic
#3E1889 #89182B #638918 #188977
square
#3E1889 #89182B #638918 #188977
split-complementary
#3E1889 #897718 #2B8918
monochromatic
#0F0621 #260F55 #3E1889 #5621BD #743EDD
Accessibility & contrast
On white
12.38
#3E1889 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#3E1889 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E1889
12.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E1889 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E1889 | 1.00 | 12.38 | 1.70 | 12.38 |
| #FFFFFF | 12.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00368C
Deuteranopia (green-blind)
#003287
Tritanopia (blue-blind)
#213A51
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #3e1889; /* rgb */ color: rgb(62, 24, 137); /* oklch */ color: oklch(34.7% 0.169 289.6);
Tailwind
colors: {
custom: {
50: '#7d5bad',
500: '#3e1889',
950: '#000000',
},
}SCSS
$custom: #3e1889; $custom-light: #7d5bad; $custom-dark: #000000;
JSON
{
"hex": "#3e1889",
"rgb": {
"r": 62,
"g": 24,
"b": 137
},
"hsl": {
"h": 260.177,
"s": 70.186,
"l": 31.569
},
"oklch": {
"l": 0.34695,
"c": 0.16934,
"h": 289.6
},
"luminance": 0.03484
}Semantic roles & 50–950 ramp
primary
#3E1889
secondary
#93BD40
accent
#ED3BB1
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F