#3F1976#3F1976
#3F1976 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.0% C 0.147 H 295.8°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).
Color values
| HEX | #3F1976 |
|---|---|
| RGB | rgb(63, 25, 118) |
| HSL | hsl(265, 65%, 28%) |
| HSV | hsv(265, 79%, 46%) |
| CMYK | cmyk(46.6%, 78.8%, 0%, 53.7%) |
| CIE-LAB | lab(20.28, 38.94, -46.04) |
| CIE-LCH | lch(20.28, 60.30, 310.23°) |
| OKLab | oklab(33.03% 0.0638 -0.1319) |
| OKLCH | oklch(33.03% 0.147 295.8) |
| XYZ | xyz(5.6667, 3.0599, 17.4281) |
| Luminance | 0.0306 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.07
Indigo (survey)
#380282
ΔE00 4.15
Royal Purple (survey)
#4B006E
ΔE00 4.56
Midnight Blue
#191970
ΔE00 5.92
Dark Indigo
#1F0954
ΔE00 7.27
Royal
#0C1793
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F1976 #507619
analogous
#192176 #3F1976 #6D1976
triadic
#3F1976 #763F19 #19763F
tetradic
#3F1976 #761921 #507619 #19766D
square
#3F1976 #761921 #507619 #19766D
split-complementary
#3F1976 #766D19 #217619
monochromatic
#0D0519 #240E43 #3F1976 #5A24A8 #7635D4
Accessibility & contrast
On white
13.03
#3F1976 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#3F1976 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F1976
13.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F1976 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F1976 | 1.00 | 13.03 | 1.61 | 13.03 |
| #FFFFFF | 13.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003279
Deuteranopia (green-blind)
#003074
Tritanopia (blue-blind)
#303246
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #3f1976; /* rgb */ color: rgb(63, 25, 118); /* oklch */ color: oklch(33.0% 0.147 295.8);
Tailwind
colors: {
custom: {
50: '#7a5a9e',
500: '#3f1976',
950: '#000000',
},
}SCSS
$custom: #3f1976; $custom-light: #7a5a9e; $custom-dark: #000000;
JSON
{
"hex": "#3f1976",
"rgb": {
"r": 63,
"g": 25,
"b": 118
},
"hsl": {
"h": 264.516,
"s": 65.035,
"l": 28.039
},
"oklch": {
"l": 0.33035,
"c": 0.14651,
"h": 295.8
},
"luminance": 0.0306
}Semantic roles & 50–950 ramp
primary
#3F1976
secondary
#7FAB40
accent
#E840A3
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E