#3F1B76#3F1B76
#3F1B76 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.3% C 0.144 H 295.4°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).
Color values
| HEX | #3F1B76 |
|---|---|
| RGB | rgb(63, 27, 118) |
| HSL | hsl(264, 63%, 28%) |
| HSV | hsv(264, 77%, 46%) |
| CMYK | cmyk(46.6%, 77.1%, 0%, 53.7%) |
| CIE-LAB | lab(20.63, 37.95, -45.47) |
| CIE-LCH | lch(20.63, 59.23, 309.85°) |
| OKLab | oklab(33.28% 0.0619 -0.1302) |
| OKLCH | oklch(33.28% 0.144 295.4) |
| XYZ | xyz(5.7110, 3.1485, 17.4429) |
| Luminance | 0.0315 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.42
Indigo (survey)
#380282
ΔE00 4.50
Royal Purple (survey)
#4B006E
ΔE00 4.88
Midnight Blue
#191970
ΔE00 5.86
Dark Indigo
#1F0954
ΔE00 7.38
Royal
#0C1793
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F1B76 #52761B
analogous
#1B2476 #3F1B76 #6C1B76
triadic
#3F1B76 #763F1B #1B763F
tetradic
#3F1B76 #761B24 #52761B #1B766C
square
#3F1B76 #761B24 #52761B #1B766C
split-complementary
#3F1B76 #766C1B #24761B
monochromatic
#0D0619 #241044 #3F1B76 #5A26A8 #763AD2
Accessibility & contrast
On white
12.89
#3F1B76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#3F1B76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F1B76
12.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F1B76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F1B76 | 1.00 | 12.89 | 1.63 | 12.89 |
| #FFFFFF | 12.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003279
Deuteranopia (green-blind)
#003074
Tritanopia (blue-blind)
#303347
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #3f1b76; /* rgb */ color: rgb(63, 27, 118); /* oklch */ color: oklch(33.3% 0.144 295.4);
Tailwind
colors: {
custom: {
50: '#7a5b9e',
500: '#3f1b76',
950: '#000000',
},
}SCSS
$custom: #3f1b76; $custom-light: #7a5b9e; $custom-dark: #000000;
JSON
{
"hex": "#3f1b76",
"rgb": {
"r": 63,
"g": 27,
"b": 118
},
"hsl": {
"h": 263.736,
"s": 62.759,
"l": 28.431
},
"oklch": {
"l": 0.33279,
"c": 0.14421,
"h": 295.4
},
"luminance": 0.03149
}Semantic roles & 50–950 ramp
primary
#3F1B76
secondary
#81AA42
accent
#E642A5
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E