#3F1779#3F1779
#3F1779 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.1% C 0.152 H 295.2°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).
Color values
| HEX | #3F1779 |
|---|---|
| RGB | rgb(63, 23, 121) |
| HSL | hsl(264, 68%, 28%) |
| HSV | hsv(264, 81%, 47%) |
| CMYK | cmyk(47.9%, 81%, 0%, 52.5%) |
| CIE-LAB | lab(20.24, 40.71, -48.02) |
| CIE-LCH | lch(20.24, 62.95, 310.29°) |
| OKLab | oklab(33.1% 0.0647 -0.1377) |
| OKLCH | oklch(33.1% 0.152 295.2) |
| XYZ | xyz(5.8066, 3.0499, 18.3682) |
| Luminance | 0.0305 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.51
Indigo
#4B0082
ΔE00 3.55
Royal Purple (survey)
#4B006E
ΔE00 4.52
Midnight Blue
#191970
ΔE00 5.95
Royal
#0C1793
ΔE00 6.94
Deep Blue
#040273
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F1779 #517917
analogous
#172079 #3F1779 #701779
triadic
#3F1779 #793F17 #17793F
tetradic
#3F1779 #791720 #517917 #177970
square
#3F1779 #791720 #517917 #177970
split-complementary
#3F1779 #797017 #207917
monochromatic
#0D051A #240D46 #3F1779 #5A21AC #7632D8
Accessibility & contrast
On white
13.04
#3F1779 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#3F1779 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F1779
13.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F1779 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F1779 | 1.00 | 13.04 | 1.61 | 13.04 |
| #FFFFFF | 13.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00327C
Deuteranopia (green-blind)
#002F77
Tritanopia (blue-blind)
#2E3248
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #3f1779; /* rgb */ color: rgb(63, 23, 121); /* oklch */ color: oklch(33.1% 0.152 295.2);
Tailwind
colors: {
custom: {
50: '#7b59a1',
500: '#3f1779',
950: '#000000',
},
}SCSS
$custom: #3f1779; $custom-light: #7b59a1; $custom-dark: #000000;
JSON
{
"hex": "#3f1779",
"rgb": {
"r": 63,
"g": 23,
"b": 121
},
"hsl": {
"h": 264.49,
"s": 68.056,
"l": 28.235
},
"oklch": {
"l": 0.33095,
"c": 0.15211,
"h": 295.2
},
"luminance": 0.0305
}Semantic roles & 50–950 ramp
primary
#3F1779
secondary
#80AE3E
accent
#EB3DA4
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#0A040F
muted
#7C797F