#3F1590#3F1590
#3F1590 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.2% C 0.180 H 288.8°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).
Color values
| HEX | #3F1590 |
|---|---|
| RGB | rgb(63, 21, 144) |
| HSL | hsl(260, 75%, 32%) |
| HSV | hsv(260, 85%, 56%) |
| CMYK | cmyk(56.3%, 85.4%, 0%, 43.5%) |
| CIE-LAB | lab(22.32, 47.83, -59.09) |
| CIE-LCH | lch(22.32, 76.02, 308.99°) |
| OKLab | oklab(35.25% 0.0578 -0.17) |
| OKLCH | oklch(35.25% 0.18 288.8) |
| XYZ | xyz(7.3506, 3.6063, 26.6889) |
| Luminance | 0.0361 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.29
Indigo
#4B0082
ΔE00 3.95
Indigo Blue
#3A18B1
ΔE00 4.70
Royal
#0C1793
ΔE00 4.97
Ultramarine
#2000B1
ΔE00 5.42
Cobalt Blue
#030AA7
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F1590 #669015
analogous
#152890 #3F1590 #7D1590
triadic
#3F1590 #903F15 #15903F
tetradic
#3F1590 #901528 #669015 #15907D
square
#3F1590 #901528 #669015 #15907D
split-complementary
#3F1590 #907D15 #289015
monochromatic
#100525 #280D5B #3F1590 #561DC5 #753DE3
Accessibility & contrast
On white
12.20
#3F1590 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#3F1590 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F1590
12.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F1590 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F1590 | 1.00 | 12.20 | 1.72 | 12.20 |
| #FFFFFF | 12.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003893
Deuteranopia (green-blind)
#00328E
Tritanopia (blue-blind)
#1D3B55
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #3f1590; /* rgb */ color: rgb(63, 21, 144); /* oklch */ color: oklch(35.2% 0.180 288.8);
Tailwind
colors: {
custom: {
50: '#7f5ab2',
500: '#3f1590',
950: '#000000',
},
}SCSS
$custom: #3f1590; $custom-light: #7f5ab2; $custom-dark: #000000;
JSON
{
"hex": "#3f1590",
"rgb": {
"r": 63,
"g": 21,
"b": 144
},
"hsl": {
"h": 260.488,
"s": 74.545,
"l": 32.353
},
"oklch": {
"l": 0.35249,
"c": 0.17961,
"h": 288.8
},
"luminance": 0.03607
}Semantic roles & 50–950 ramp
primary
#3F1590
secondary
#95C23E
accent
#F137B1
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980