#3F1970#3F1970
#3F1970 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.5% C 0.139 H 298.0°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).
Color values
| HEX | #3F1970 |
|---|---|
| RGB | rgb(63, 25, 112) |
| HSL | hsl(266, 64%, 27%) |
| HSV | hsv(266, 78%, 44%) |
| CMYK | cmyk(43.7%, 77.7%, 0%, 56.1%) |
| CIE-LAB | lab(19.73, 37.28, -43.07) |
| CIE-LCH | lch(19.73, 56.97, 310.87°) |
| OKLab | oklab(32.47% 0.0654 -0.1232) |
| OKLCH | oklch(32.47% 0.139 298) |
| XYZ | xyz(5.3214, 2.9218, 15.6097) |
| Luminance | 0.0292 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 4.28
Indigo
#4B0082
ΔE00 4.67
Indigo (survey)
#380282
ΔE00 4.94
Midnight Blue
#191970
ΔE00 6.19
Dark Indigo
#1F0954
ΔE00 6.74
Dark Royal Blue
#02066F
ΔE00 7.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F1970 #4A7019
analogous
#191E70 #3F1970 #6B1970
triadic
#3F1970 #703F19 #19703F
tetradic
#3F1970 #70191E #4A7019 #19706B
square
#3F1970 #70191E #4A7019 #19706B
split-complementary
#3F1970 #706B19 #1E7019
monochromatic
#0E0619 #230E3E #3F1970 #5B24A2 #7832D1
Accessibility & contrast
On white
13.25
#3F1970 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#3F1970 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F1970
13.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F1970 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F1970 | 1.00 | 13.25 | 1.58 | 13.25 |
| #FFFFFF | 13.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003072
Deuteranopia (green-blind)
#002F6E
Tritanopia (blue-blind)
#333043
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #3f1970; /* rgb */ color: rgb(63, 25, 112); /* oklch */ color: oklch(32.5% 0.139 298.0);
Tailwind
colors: {
custom: {
50: '#795a9a',
500: '#3f1970',
950: '#000000',
},
}SCSS
$custom: #3f1970; $custom-light: #795a9a; $custom-dark: #000000;
JSON
{
"hex": "#3f1970",
"rgb": {
"r": 63,
"g": 25,
"b": 112
},
"hsl": {
"h": 266.207,
"s": 63.504,
"l": 26.863
},
"oklch": {
"l": 0.32474,
"c": 0.13948,
"h": 298
},
"luminance": 0.02922
}Semantic roles & 50–950 ramp
primary
#3F1970
secondary
#79A540
accent
#E7419E
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E