#3F1E86#3F1E86
#3F1E86 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.2% C 0.160 H 290.1°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).
Color values
| HEX | #3F1E86 |
|---|---|
| RGB | rgb(63, 30, 134) |
| HSL | hsl(259, 63%, 32%) |
| HSV | hsv(259, 78%, 53%) |
| CMYK | cmyk(53%, 77.6%, 0%, 47.5%) |
| CIE-LAB | lab(22.68, 41.03, -52.27) |
| CIE-LCH | lch(22.68, 66.45, 308.13°) |
| OKLab | oklab(35.18% 0.0549 -0.1502) |
| OKLCH | oklch(35.18% 0.16 290.1) |
| XYZ | xyz(6.8160, 3.7062, 22.9059) |
| Luminance | 0.0371 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.23
Indigo
#4B0082
ΔE00 4.60
Royal
#0C1793
ΔE00 5.63
Midnight Blue
#191970
ΔE00 6.13
Indigo Blue
#3A18B1
ΔE00 6.24
Royal Purple (survey)
#4B006E
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F1E86 #65861E
analogous
#1E3186 #3F1E86 #731E86
triadic
#3F1E86 #863F1E #1E863F
tetradic
#3F1E86 #861E31 #65861E #1E8673
square
#3F1E86 #861E31 #65861E #1E8673
split-complementary
#3F1E86 #86731E #31861E
monochromatic
#100822 #271354 #3F1E86 #5729B8 #7548D6
Accessibility & contrast
On white
12.06
#3F1E86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#3F1E86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F1E86
12.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F1E86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F1E86 | 1.00 | 12.06 | 1.74 | 12.06 |
| #FFFFFF | 12.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003889
Deuteranopia (green-blind)
#003484
Tritanopia (blue-blind)
#253B51
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #3f1e86; /* rgb */ color: rgb(63, 30, 134); /* oklch */ color: oklch(35.2% 0.160 290.1);
Tailwind
colors: {
custom: {
50: '#7c5eaa',
500: '#3f1e86',
950: '#000000',
},
}SCSS
$custom: #3f1e86; $custom-light: #7c5eaa; $custom-dark: #000000;
JSON
{
"hex": "#3f1e86",
"rgb": {
"r": 63,
"g": 30,
"b": 134
},
"hsl": {
"h": 259.038,
"s": 63.415,
"l": 32.157
},
"oklch": {
"l": 0.35183,
"c": 0.15992,
"h": 290.1
},
"luminance": 0.03707
}Semantic roles & 50–950 ramp
primary
#3F1E86
secondary
#95B847
accent
#E641B2
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0410
muted
#7C797F