#3F1A86#3F1A86
#3F1A86 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.7% C 0.164 H 290.7°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).
Color values
| HEX | #3F1A86 |
|---|---|
| RGB | rgb(63, 26, 134) |
| HSL | hsl(261, 68%, 31%) |
| HSV | hsv(261, 81%, 53%) |
| CMYK | cmyk(53%, 80.6%, 0%, 47.5%) |
| CIE-LAB | lab(22.00, 42.95, -53.37) |
| CIE-LCH | lch(22.00, 68.51, 308.83°) |
| OKLab | oklab(34.71% 0.0581 -0.1534) |
| OKLCH | oklch(34.71% 0.164 290.7) |
| XYZ | xyz(6.7211, 3.5165, 22.8742) |
| Luminance | 0.0352 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.47
Indigo
#4B0082
ΔE00 3.91
Royal
#0C1793
ΔE00 5.53
Indigo Blue
#3A18B1
ΔE00 6.17
Royal Purple (survey)
#4B006E
ΔE00 6.18
Midnight Blue
#191970
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F1A86 #61861A
analogous
#1A2B86 #3F1A86 #751A86
triadic
#3F1A86 #863F1A #1A863F
tetradic
#3F1A86 #861A2B #61861A #1A8675
square
#3F1A86 #861A2B #61861A #1A8675
split-complementary
#3F1A86 #86751A #2B861A
monochromatic
#0F061F #271053 #3F1A86 #5724B9 #7540DA
Accessibility & contrast
On white
12.33
#3F1A86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#3F1A86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F1A86
12.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F1A86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F1A86 | 1.00 | 12.33 | 1.70 | 12.33 |
| #FFFFFF | 12.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003689
Deuteranopia (green-blind)
#003284
Tritanopia (blue-blind)
#263950
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #3f1a86; /* rgb */ color: rgb(63, 26, 134); /* oklch */ color: oklch(34.7% 0.164 290.7);
Tailwind
colors: {
custom: {
50: '#7d5caa',
500: '#3f1a86',
950: '#000000',
},
}SCSS
$custom: #3f1a86; $custom-light: #7d5caa; $custom-dark: #000000;
JSON
{
"hex": "#3f1a86",
"rgb": {
"r": 63,
"g": 26,
"b": 134
},
"hsl": {
"h": 260.556,
"s": 67.5,
"l": 31.373
},
"oklch": {
"l": 0.34713,
"c": 0.16402,
"h": 290.7
},
"luminance": 0.03517
}Semantic roles & 50–950 ramp
primary
#3F1A86
secondary
#91B942
accent
#EA3DAF
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0410
muted
#7C797F