#3F1885#3F1885
#3F1885 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.4% C 0.165 H 291.3°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).
Color values
| HEX | #3F1885 |
|---|---|
| RGB | rgb(63, 24, 133) |
| HSL | hsl(261, 69%, 31%) |
| HSV | hsv(261, 82%, 52%) |
| CMYK | cmyk(52.6%, 82%, 0%, 47.8%) |
| CIE-LAB | lab(21.59, 43.57, -53.42) |
| CIE-LCH | lch(21.59, 68.94, 309.20°) |
| OKLab | oklab(34.4% 0.0599 -0.1535) |
| OKLCH | oklch(34.4% 0.165 291.3) |
| XYZ | xyz(6.6090, 3.4032, 22.4944) |
| Luminance | 0.0340 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.11
Indigo
#4B0082
ΔE00 3.57
Royal
#0C1793
ΔE00 5.60
Royal Purple (survey)
#4B006E
ΔE00 5.86
Midnight Blue
#191970
ΔE00 6.22
Indigo Blue
#3A18B1
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F1885 #5E8518
analogous
#182785 #3F1885 #751885
triadic
#3F1885 #853F18 #18853F
tetradic
#3F1885 #851827 #5E8518 #188575
square
#3F1885 #851827 #5E8518 #188575
split-complementary
#3F1885 #857518 #278518
monochromatic
#0E051D #260F51 #3F1885 #5821B9 #753CDC
Accessibility & contrast
On white
12.50
#3F1885 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#3F1885 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F1885
12.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F1885 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F1885 | 1.00 | 12.50 | 1.68 | 12.50 |
| #FFFFFF | 12.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003588
Deuteranopia (green-blind)
#003183
Tritanopia (blue-blind)
#26384F
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #3f1885; /* rgb */ color: rgb(63, 24, 133); /* oklch */ color: oklch(34.4% 0.165 291.3);
Tailwind
colors: {
custom: {
50: '#7d5baa',
500: '#3f1885',
950: '#000000',
},
}SCSS
$custom: #3f1885; $custom-light: #7d5baa; $custom-dark: #000000;
JSON
{
"hex": "#3f1885",
"rgb": {
"r": 63,
"g": 24,
"b": 133
},
"hsl": {
"h": 261.468,
"s": 69.427,
"l": 30.784
},
"oklch": {
"l": 0.34396,
"c": 0.16479,
"h": 291.3
},
"luminance": 0.03403
}Semantic roles & 50–950 ramp
primary
#3F1885
secondary
#8EB940
accent
#EC3CAD
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0410
muted
#7C797F