#3F147F#3F147F
#3F147F is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.4% C 0.162 H 293.7°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).
Color values
| HEX | #3F147F |
|---|---|
| RGB | rgb(63, 20, 127) |
| HSL | hsl(264, 73%, 29%) |
| HSV | hsv(264, 84%, 50%) |
| CMYK | cmyk(50.4%, 84.3%, 0%, 50.2%) |
| CIE-LAB | lab(20.40, 43.63, -51.59) |
| CIE-LCH | lch(20.40, 67.56, 310.22°) |
| OKLab | oklab(33.39% 0.0649 -0.1481) |
| OKLCH | oklch(33.39% 0.162 293.7) |
| XYZ | xyz(6.1298, 3.0892, 20.3479) |
| Luminance | 0.0309 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 2.60
Indigo
#4B0082
ΔE00 2.95
Royal Purple (survey)
#4B006E
ΔE00 4.83
Midnight Blue
#191970
ΔE00 6.17
Royal
#0C1793
ΔE00 6.23
Darkblue
#00008B
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F147F #547F14
analogous
#141F7F #3F147F #75147F
triadic
#3F147F #7F3F14 #147F3F
tetradic
#3F147F #7F141F #547F14 #147F75
square
#3F147F #7F141F #547F14 #147F75
split-complementary
#3F147F #7F7514 #1F7F14
monochromatic
#0D041A #250C4A #3F147F #591CB4 #762FDE
Accessibility & contrast
On white
12.98
#3F147F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#3F147F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F147F
12.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F147F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F147F | 1.00 | 12.98 | 1.62 | 12.98 |
| #FFFFFF | 12.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003282
Deuteranopia (green-blind)
#002F7D
Tritanopia (blue-blind)
#2B344B
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #3f147f; /* rgb */ color: rgb(63, 20, 127); /* oklch */ color: oklch(33.4% 0.162 293.7);
Tailwind
colors: {
custom: {
50: '#7c58a5',
500: '#3f147f',
950: '#000000',
},
}SCSS
$custom: #3f147f; $custom-light: #7c58a5; $custom-dark: #000000;
JSON
{
"hex": "#3f147f",
"rgb": {
"r": 63,
"g": 20,
"b": 127
},
"hsl": {
"h": 264.112,
"s": 72.789,
"l": 28.824
},
"oklch": {
"l": 0.33385,
"c": 0.1617,
"h": 293.7
},
"luminance": 0.03089
}Semantic roles & 50–950 ramp
primary
#3F147F
secondary
#83B43B
accent
#EF38A6
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A040F
muted
#7C797F