#3F1876#3F1876
#3F1876 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.148 H 296.0°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).
Color values
| HEX | #3F1876 |
|---|---|
| RGB | rgb(63, 24, 118) |
| HSL | hsl(265, 66%, 28%) |
| HSV | hsv(265, 80%, 46%) |
| CMYK | cmyk(46.6%, 79.7%, 0%, 53.7%) |
| CIE-LAB | lab(20.12, 39.42, -46.31) |
| CIE-LCH | lch(20.12, 60.81, 310.40°) |
| OKLab | oklab(32.92% 0.0647 -0.1327) |
| OKLCH | oklch(32.92% 0.148 296) |
| XYZ | xyz(5.6457, 3.0179, 17.4211) |
| Luminance | 0.0302 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.91
Indigo (survey)
#380282
ΔE00 3.99
Royal Purple (survey)
#4B006E
ΔE00 4.41
Midnight Blue
#191970
ΔE00 5.95
Dark Indigo
#1F0954
ΔE00 7.22
Royal
#0C1793
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F1876 #4F7618
analogous
#182076 #3F1876 #6E1876
triadic
#3F1876 #763F18 #18763F
tetradic
#3F1876 #761820 #4F7618 #18766E
square
#3F1876 #761820 #4F7618 #18766E
split-complementary
#3F1876 #766E18 #207618
monochromatic
#0E0519 #240E43 #3F1876 #5A22A9 #7633D5
Accessibility & contrast
On white
13.10
#3F1876 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#3F1876 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F1876
13.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F1876 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F1876 | 1.00 | 13.10 | 1.60 | 13.10 |
| #FFFFFF | 13.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003179
Deuteranopia (green-blind)
#002F74
Tritanopia (blue-blind)
#303246
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #3f1876; /* rgb */ color: rgb(63, 24, 118); /* oklch */ color: oklch(32.9% 0.148 296.0);
Tailwind
colors: {
custom: {
50: '#7a5a9e',
500: '#3f1876',
950: '#000000',
},
}SCSS
$custom: #3f1876; $custom-light: #7a5a9e; $custom-dark: #000000;
JSON
{
"hex": "#3f1876",
"rgb": {
"r": 63,
"g": 24,
"b": 118
},
"hsl": {
"h": 264.894,
"s": 66.197,
"l": 27.843
},
"oklch": {
"l": 0.32918,
"c": 0.14761,
"h": 296
},
"luminance": 0.03018
}Semantic roles & 50–950 ramp
primary
#3F1876
secondary
#7EAB3F
accent
#E93FA2
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E