#3E1F91#3E1F91
#3E1F91 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.3% C 0.172 H 286.7°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).
Color values
| HEX | #3E1F91 |
|---|---|
| RGB | rgb(62, 31, 145) |
| HSL | hsl(256, 65%, 35%) |
| HSV | hsv(256, 79%, 57%) |
| CMYK | cmyk(57.2%, 78.6%, 0%, 43.1%) |
| CIE-LAB | lab(23.83, 43.60, -57.23) |
| CIE-LCH | lch(23.83, 71.95, 307.30°) |
| OKLab | oklab(36.3% 0.0494 -0.1648) |
| OKLCH | oklch(36.3% 0.172 286.7) |
| XYZ | xyz(7.5859, 4.0480, 27.1642) |
| Luminance | 0.0405 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.55
Indigo (survey)
#380282
ΔE00 4.82
Royal
#0C1793
ΔE00 4.91
Indigo
#4B0082
ΔE00 5.38
Cobalt Blue
#030AA7
ΔE00 5.88
Ultramarine
#2000B1
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E1F91 #72911F
analogous
#1F3991 #3E1F91 #771F91
triadic
#3E1F91 #913E1F #1F913E
tetradic
#3E1F91 #911F39 #72911F #1F9177
square
#3E1F91 #911F39 #72911F #1F9177
split-complementary
#3E1F91 #91771F #39911F
monochromatic
#13092C #28145F #3E1F91 #542AC3 #7651DA
Accessibility & contrast
On white
11.60
#3E1F91 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#3E1F91 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E1F91
11.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E1F91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E1F91 | 1.00 | 11.60 | 1.81 | 11.60 |
| #FFFFFF | 11.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B94
Deuteranopia (green-blind)
#00358F
Tritanopia (blue-blind)
#174057
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #3e1f91; /* rgb */ color: rgb(62, 31, 145); /* oklch */ color: oklch(36.3% 0.172 286.7);
Tailwind
colors: {
custom: {
50: '#7d5fb2',
500: '#3e1f91',
950: '#000000',
},
}SCSS
$custom: #3e1f91; $custom-light: #7d5fb2; $custom-dark: #000000;
JSON
{
"hex": "#3e1f91",
"rgb": {
"r": 62,
"g": 31,
"b": 145
},
"hsl": {
"h": 256.316,
"s": 64.773,
"l": 34.51
},
"oklch": {
"l": 0.36296,
"c": 0.172,
"h": 286.7
},
"luminance": 0.04048
}Semantic roles & 50–950 ramp
primary
#3E1F91
secondary
#9FBD4F
accent
#E840BA
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980