#3F1B86#3F1B86
#3F1B86 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.8% C 0.163 H 290.6°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).
Color values
| HEX | #3F1B86 |
|---|---|
| RGB | rgb(63, 27, 134) |
| HSL | hsl(260, 66%, 32%) |
| HSV | hsv(260, 80%, 53%) |
| CMYK | cmyk(53%, 79.9%, 0%, 47.5%) |
| CIE-LAB | lab(22.17, 42.49, -53.10) |
| CIE-LCH | lch(22.17, 68.01, 308.66°) |
| OKLab | oklab(34.83% 0.0573 -0.1526) |
| OKLCH | oklch(34.83% 0.163 290.6) |
| XYZ | xyz(6.7437, 3.5616, 22.8818) |
| Luminance | 0.0356 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.65
Indigo
#4B0082
ΔE00 4.07
Royal
#0C1793
ΔE00 5.54
Indigo Blue
#3A18B1
ΔE00 6.18
Midnight Blue
#191970
ΔE00 6.18
Royal Purple (survey)
#4B006E
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F1B86 #62861B
analogous
#1B2D86 #3F1B86 #751B86
triadic
#3F1B86 #863F1B #1B863F
tetradic
#3F1B86 #861B2D #62861B #1B8675
square
#3F1B86 #861B2D #62861B #1B8675
split-complementary
#3F1B86 #86751B #2D861B
monochromatic
#0F0620 #271153 #3F1B86 #5725B9 #7542D9
Accessibility & contrast
On white
12.26
#3F1B86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#3F1B86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F1B86
12.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F1B86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F1B86 | 1.00 | 12.26 | 1.71 | 12.26 |
| #FFFFFF | 12.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003789
Deuteranopia (green-blind)
#003384
Tritanopia (blue-blind)
#263950
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #3f1b86; /* rgb */ color: rgb(63, 27, 134); /* oklch */ color: oklch(34.8% 0.163 290.6);
Tailwind
colors: {
custom: {
50: '#7c5caa',
500: '#3f1b86',
950: '#000000',
},
}SCSS
$custom: #3f1b86; $custom-light: #7c5caa; $custom-dark: #000000;
JSON
{
"hex": "#3f1b86",
"rgb": {
"r": 63,
"g": 27,
"b": 134
},
"hsl": {
"h": 260.187,
"s": 66.46,
"l": 31.569
},
"oklch": {
"l": 0.34826,
"c": 0.16303,
"h": 290.6
},
"luminance": 0.03562
}Semantic roles & 50–950 ramp
primary
#3F1B86
secondary
#92B944
accent
#E93EB0
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0410
muted
#7C797F