#3F1E8D#3F1E8D
#3F1E8D is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.9% C 0.168 H 288.3°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).
Color values
| HEX | #3F1E8D |
|---|---|
| RGB | rgb(63, 30, 141) |
| HSL | hsl(258, 65%, 34%) |
| HSV | hsv(258, 79%, 55%) |
| CMYK | cmyk(55.3%, 78.7%, 0%, 44.7%) |
| CIE-LAB | lab(23.36, 43.06, -55.51) |
| CIE-LCH | lch(23.36, 70.25, 307.80°) |
| OKLab | oklab(35.88% 0.0529 -0.1597) |
| OKLCH | oklch(35.88% 0.168 288.3) |
| XYZ | xyz(7.3205, 3.9080, 25.5627) |
| Luminance | 0.0391 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.42
Indigo
#4B0082
ΔE00 4.88
Indigo Blue
#3A18B1
ΔE00 5.14
Royal
#0C1793
ΔE00 5.16
Cobalt Blue
#030AA7
ΔE00 6.26
Ultramarine
#2000B1
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F1E8D #6C8D1E
analogous
#1E348D #3F1E8D #761E8D
triadic
#3F1E8D #8D3F1E #1E8D3F
tetradic
#3F1E8D #8D1E34 #6C8D1E #1E8D76
square
#3F1E8D #8D1E34 #6C8D1E #1E8D76
split-complementary
#3F1E8D #8D761E #348D1E
monochromatic
#120928 #28135B #3F1E8D #5629BF #764CD9
Accessibility & contrast
On white
11.79
#3F1E8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#3F1E8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F1E8D
11.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F1E8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F1E8D | 1.00 | 11.79 | 1.78 | 11.79 |
| #FFFFFF | 11.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A90
Deuteranopia (green-blind)
#00358B
Tritanopia (blue-blind)
#1F3E55
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #3f1e8d; /* rgb */ color: rgb(63, 30, 141); /* oklch */ color: oklch(35.9% 0.168 288.3);
Tailwind
colors: {
custom: {
50: '#7d5eaf',
500: '#3f1e8d',
950: '#000000',
},
}SCSS
$custom: #3f1e8d; $custom-light: #7d5eaf; $custom-dark: #000000;
JSON
{
"hex": "#3f1e8d",
"rgb": {
"r": 63,
"g": 30,
"b": 141
},
"hsl": {
"h": 257.838,
"s": 64.912,
"l": 33.529
},
"oklch": {
"l": 0.35875,
"c": 0.16821,
"h": 288.3
},
"luminance": 0.03908
}Semantic roles & 50–950 ramp
primary
#3F1E8D
secondary
#9ABC4B
accent
#E840B6
background
#F8F5FA
surface
#EFE9F5
border
#CAC5CF
text
#0B0511
muted
#7C7980