#3E1F89#3E1F89
#3E1F89 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.5% C 0.162 H 288.6°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).
Color values
| HEX | #3E1F89 |
|---|---|
| RGB | rgb(62, 31, 137) |
| HSL | hsl(258, 63%, 33%) |
| HSV | hsv(258, 77%, 54%) |
| CMYK | cmyk(54.7%, 77.4%, 0%, 46.3%) |
| CIE-LAB | lab(23.03, 41.24, -53.56) |
| CIE-LCH | lch(23.03, 67.60, 307.60°) |
| OKLab | oklab(35.5% 0.0517 -0.154) |
| OKLCH | oklch(35.5% 0.162 288.6) |
| XYZ | xyz(6.9906, 3.8099, 24.0291) |
| Luminance | 0.0381 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.46
Indigo
#4B0082
ΔE00 4.97
Royal
#0C1793
ΔE00 5.29
Indigo Blue
#3A18B1
ΔE00 5.77
Midnight Blue
#191970
ΔE00 6.20
Cobalt Blue
#030AA7
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E1F89 #6A891F
analogous
#1F3589 #3E1F89 #731F89
triadic
#3E1F89 #893E1F #1F893E
tetradic
#3E1F89 #891F35 #6A891F #1F8973
square
#3E1F89 #891F35 #6A891F #1F8973
split-complementary
#3E1F89 #89731F #35891F
monochromatic
#110825 #271457 #3E1F89 #552ABB #744CD6
Accessibility & contrast
On white
11.92
#3E1F89 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#3E1F89 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E1F89
11.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E1F89 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E1F89 | 1.00 | 11.92 | 1.76 | 11.92 |
| #FFFFFF | 11.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00398C
Deuteranopia (green-blind)
#003487
Tritanopia (blue-blind)
#203C53
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #3e1f89; /* rgb */ color: rgb(62, 31, 137); /* oklch */ color: oklch(35.5% 0.162 288.6);
Tailwind
colors: {
custom: {
50: '#7c5eac',
500: '#3e1f89',
950: '#000000',
},
}SCSS
$custom: #3e1f89; $custom-light: #7c5eac; $custom-dark: #000000;
JSON
{
"hex": "#3e1f89",
"rgb": {
"r": 62,
"g": 31,
"b": 137
},
"hsl": {
"h": 257.547,
"s": 63.095,
"l": 32.941
},
"oklch": {
"l": 0.35496,
"c": 0.16247,
"h": 288.6
},
"luminance": 0.0381
}Semantic roles & 50–950 ramp
primary
#3E1F89
secondary
#99B94B
accent
#E642B6
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0510
muted
#7C797F