#3F1E7F#3F1E7F
#3F1E7F is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.5% C 0.152 H 292.0°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).
Color values
| HEX | #3F1E7F |
|---|---|
| RGB | rgb(63, 30, 127) |
| HSL | hsl(260, 62%, 31%) |
| HSV | hsv(260, 76%, 50%) |
| CMYK | cmyk(50.4%, 76.4%, 0%, 50.2%) |
| CIE-LAB | lab(22.01, 39.00, -48.95) |
| CIE-LCH | lch(22.01, 62.58, 308.54°) |
| OKLab | oklab(34.51% 0.0568 -0.1405) |
| OKLCH | oklch(34.51% 0.152 292) |
| XYZ | xyz(6.3439, 3.5174, 20.4192) |
| Luminance | 0.0352 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.38
Indigo
#4B0082
ΔE00 4.57
Midnight Blue
#191970
ΔE00 5.82
Royal Purple (survey)
#4B006E
ΔE00 6.02
Royal
#0C1793
ΔE00 6.33
Indigo Blue
#3A18B1
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F1E7F #5E7F1E
analogous
#1E2E7F #3F1E7F #6F1E7F
triadic
#3F1E7F #7F3F1E #1E7F3F
tetradic
#3F1E7F #7F1E2E #5E7F1E #1E7F6F
square
#3F1E7F #7F1E2E #5E7F1E #1E7F6F
split-complementary
#3F1E7F #7F6F1E #2E7F1E
monochromatic
#0E071C #26124D #3F1E7F #582AB1 #7544D3
Accessibility & contrast
On white
12.33
#3F1E7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#3F1E7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F1E7F
12.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F1E7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F1E7F | 1.00 | 12.33 | 1.70 | 12.33 |
| #FFFFFF | 12.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003682
Deuteranopia (green-blind)
#00337D
Tritanopia (blue-blind)
#2A384D
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #3f1e7f; /* rgb */ color: rgb(63, 30, 127); /* oklch */ color: oklch(34.5% 0.152 292.0);
Tailwind
colors: {
custom: {
50: '#7b5da5',
500: '#3f1e7f',
950: '#000000',
},
}SCSS
$custom: #3f1e7f; $custom-light: #7b5da5; $custom-dark: #000000;
JSON
{
"hex": "#3f1e7f",
"rgb": {
"r": 63,
"g": 30,
"b": 127
},
"hsl": {
"h": 260.412,
"s": 61.783,
"l": 30.784
},
"oklch": {
"l": 0.34508,
"c": 0.15152,
"h": 292
},
"luminance": 0.03518
}Semantic roles & 50–950 ramp
primary
#3F1E7F
secondary
#8EB247
accent
#E543AE
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F