#3F1F79#3F1F79
#3F1F79 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.1% C 0.143 H 293.6°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).
Color values
| HEX | #3F1F79 |
|---|---|
| RGB | rgb(63, 31, 121) |
| HSL | hsl(261, 59%, 30%) |
| HSV | hsv(261, 74%, 47%) |
| CMYK | cmyk(47.9%, 74.4%, 0%, 52.5%) |
| CIE-LAB | lab(21.64, 36.73, -45.73) |
| CIE-LCH | lch(21.64, 58.65, 308.77°) |
| OKLab | oklab(34.08% 0.0573 -0.131) |
| OKLCH | oklch(34.08% 0.143 293.6) |
| XYZ | xyz(5.9901, 3.4170, 18.4294) |
| Luminance | 0.0342 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 5.00
Indigo
#4B0082
ΔE00 5.01
Midnight Blue
#191970
ΔE00 5.77
Royal Purple (survey)
#4B006E
ΔE00 5.78
Royal
#0C1793
ΔE00 7.15
Dark Indigo
#1F0954
ΔE00 7.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F1F79 #59791F
analogous
#1F2C79 #3F1F79 #6C1F79
triadic
#3F1F79 #793F1F #1F793F
tetradic
#3F1F79 #791F2C #59791F #1F796C
square
#3F1F79 #791F2C #59791F #1F796C
split-complementary
#3F1F79 #796C1F #2C791F
monochromatic
#0D0618 #261348 #3F1F79 #582BAA #7543CF
Accessibility & contrast
On white
12.47
#3F1F79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#3F1F79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F1F79
12.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F1F79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F1F79 | 1.00 | 12.47 | 1.68 | 12.47 |
| #FFFFFF | 12.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00357C
Deuteranopia (green-blind)
#003277
Tritanopia (blue-blind)
#2E364A
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #3f1f79; /* rgb */ color: rgb(63, 31, 121); /* oklch */ color: oklch(34.1% 0.143 293.6);
Tailwind
colors: {
custom: {
50: '#7a5ea0',
500: '#3f1f79',
950: '#000000',
},
}SCSS
$custom: #3f1f79; $custom-light: #7a5ea0; $custom-dark: #000000;
JSON
{
"hex": "#3f1f79",
"rgb": {
"r": 63,
"g": 31,
"b": 121
},
"hsl": {
"h": 261.333,
"s": 59.211,
"l": 29.804
},
"oklch": {
"l": 0.3408,
"c": 0.14302,
"h": 293.6
},
"luminance": 0.03417
}Semantic roles & 50–950 ramp
primary
#3F1F79
secondary
#88AC47
accent
#E245AB
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#0A040F
muted
#7C797F