#3F1D79#3F1D79
#3F1D79 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.8% C 0.145 H 294.0°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).
Color values
| HEX | #3F1D79 |
|---|---|
| RGB | rgb(63, 29, 121) |
| HSL | hsl(262, 61%, 29%) |
| HSV | hsv(262, 76%, 47%) |
| CMYK | cmyk(47.9%, 76%, 0%, 52.5%) |
| CIE-LAB | lab(21.27, 37.78, -46.35) |
| CIE-LCH | lch(21.27, 59.79, 309.19°) |
| OKLab | oklab(33.81% 0.0593 -0.1328) |
| OKLCH | oklch(33.81% 0.145 294) |
| XYZ | xyz(5.9395, 3.3158, 18.4125) |
| Luminance | 0.0332 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.58
Indigo
#4B0082
ΔE00 4.60
Royal Purple (survey)
#4B006E
ΔE00 5.41
Midnight Blue
#191970
ΔE00 5.77
Royal
#0C1793
ΔE00 7.05
Dark Indigo
#1F0954
ΔE00 7.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F1D79 #57791D
analogous
#1D2979 #3F1D79 #6D1D79
triadic
#3F1D79 #793F1D #1D793F
tetradic
#3F1D79 #791D29 #57791D #1D796D
square
#3F1D79 #791D29 #57791D #1D796D
split-complementary
#3F1D79 #796D1D #29791D
monochromatic
#0D0619 #251148 #3F1D79 #5929AA #753FD1
Accessibility & contrast
On white
12.63
#3F1D79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#3F1D79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F1D79
12.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F1D79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F1D79 | 1.00 | 12.63 | 1.66 | 12.63 |
| #FFFFFF | 12.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00347C
Deuteranopia (green-blind)
#003177
Tritanopia (blue-blind)
#2E3549
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #3f1d79; /* rgb */ color: rgb(63, 29, 121); /* oklch */ color: oklch(33.8% 0.145 294.0);
Tailwind
colors: {
custom: {
50: '#7a5da1',
500: '#3f1d79',
950: '#000000',
},
}SCSS
$custom: #3f1d79; $custom-light: #7a5da1; $custom-dark: #000000;
JSON
{
"hex": "#3f1d79",
"rgb": {
"r": 63,
"g": 29,
"b": 121
},
"hsl": {
"h": 262.174,
"s": 61.333,
"l": 29.412
},
"oklch": {
"l": 0.33814,
"c": 0.14544,
"h": 294
},
"luminance": 0.03316
}Semantic roles & 50–950 ramp
primary
#3F1D79
secondary
#86AD45
accent
#E443A9
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#0A040F
muted
#7C797F