#3F1D7E#3F1D7E
#3F1D7E is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.3% C 0.151 H 292.5°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).
Color values
| HEX | #3F1D7E |
|---|---|
| RGB | rgb(63, 29, 126) |
| HSL | hsl(261, 63%, 30%) |
| HSV | hsv(261, 77%, 49%) |
| CMYK | cmyk(50%, 77%, 0%, 50.6%) |
| CIE-LAB | lab(21.73, 39.22, -48.77) |
| CIE-LCH | lch(21.73, 62.58, 308.81°) |
| OKLab | oklab(34.29% 0.058 -0.1399) |
| OKLCH | oklch(34.29% 0.151 292.5) |
| XYZ | xyz(6.2541, 3.4416, 20.0694) |
| Luminance | 0.0344 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.22
Indigo
#4B0082
ΔE00 4.39
Royal Purple (survey)
#4B006E
ΔE00 5.78
Midnight Blue
#191970
ΔE00 5.80
Royal
#0C1793
ΔE00 6.41
Indigo Blue
#3A18B1
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F1D7E #5C7E1D
analogous
#1D2B7E #3F1D7E #6F1D7E
triadic
#3F1D7E #7E3F1D #1D7E3F
tetradic
#3F1D7E #7E1D2B #5C7E1D #1D7E6F
square
#3F1D7E #7E1D2B #5C7E1D #1D7E6F
split-complementary
#3F1D7E #7E6F1D #2B7E1D
monochromatic
#0D061B #26124C #3F1D7E #5828B0 #7542D3
Accessibility & contrast
On white
12.44
#3F1D7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#3F1D7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F1D7E
12.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F1D7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F1D7E | 1.00 | 12.44 | 1.69 | 12.44 |
| #FFFFFF | 12.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003581
Deuteranopia (green-blind)
#00327C
Tritanopia (blue-blind)
#2B374C
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #3f1d7e; /* rgb */ color: rgb(63, 29, 126); /* oklch */ color: oklch(34.3% 0.151 292.5);
Tailwind
colors: {
custom: {
50: '#7b5da4',
500: '#3f1d7e',
950: '#000000',
},
}SCSS
$custom: #3f1d7e; $custom-light: #7b5da4; $custom-dark: #000000;
JSON
{
"hex": "#3f1d7e",
"rgb": {
"r": 63,
"g": 29,
"b": 126
},
"hsl": {
"h": 261.031,
"s": 62.581,
"l": 30.392
},
"oklch": {
"l": 0.34286,
"c": 0.15146,
"h": 292.5
},
"luminance": 0.03442
}Semantic roles & 50–950 ramp
primary
#3F1D7E
secondary
#8CB145
accent
#E642AC
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F