#3F1776#3F1776
#3F1776 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.8% C 0.149 H 296.2°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).
Color values
| HEX | #3F1776 |
|---|---|
| RGB | rgb(63, 23, 118) |
| HSL | hsl(265, 67%, 28%) |
| HSV | hsv(265, 81%, 46%) |
| CMYK | cmyk(46.6%, 80.5%, 0%, 53.7%) |
| CIE-LAB | lab(19.95, 39.88, -46.57) |
| CIE-LCH | lch(19.95, 61.32, 310.57°) |
| OKLab | oklab(32.81% 0.0656 -0.1334) |
| OKLCH | oklch(32.81% 0.149 296.2) |
| XYZ | xyz(5.6254, 2.9774, 17.4143) |
| Luminance | 0.0298 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.76
Indigo (survey)
#380282
ΔE00 3.84
Royal Purple (survey)
#4B006E
ΔE00 4.28
Midnight Blue
#191970
ΔE00 6.00
Dark Indigo
#1F0954
ΔE00 7.18
Royal
#0C1793
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F1776 #4E7617
analogous
#171F76 #3F1776 #6E1776
triadic
#3F1776 #763F17 #17763F
tetradic
#3F1776 #76171F #4E7617 #17766E
square
#3F1776 #76171F #4E7617 #17766E
split-complementary
#3F1776 #766E17 #1F7617
monochromatic
#0E051A #240D43 #3F1776 #5A21A9 #7731D7
Accessibility & contrast
On white
13.16
#3F1776 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#3F1776 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F1776
13.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F1776 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F1776 | 1.00 | 13.16 | 1.60 | 13.16 |
| #FFFFFF | 13.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003179
Deuteranopia (green-blind)
#002F74
Tritanopia (blue-blind)
#303146
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #3f1776; /* rgb */ color: rgb(63, 23, 118); /* oklch */ color: oklch(32.8% 0.149 296.2);
Tailwind
colors: {
custom: {
50: '#7a599e',
500: '#3f1776',
950: '#000000',
},
}SCSS
$custom: #3f1776; $custom-light: #7a599e; $custom-dark: #000000;
JSON
{
"hex": "#3f1776",
"rgb": {
"r": 63,
"g": 23,
"b": 118
},
"hsl": {
"h": 265.263,
"s": 67.376,
"l": 27.647
},
"oklch": {
"l": 0.32805,
"c": 0.14868,
"h": 296.2
},
"luminance": 0.02978
}Semantic roles & 50–950 ramp
primary
#3F1776
secondary
#7DAB3E
accent
#EA3EA2
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E