#3F1E8A#3F1E8A
#3F1E8A is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.6% C 0.165 H 289.1°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).
Color values
| HEX | #3F1E8A |
|---|---|
| RGB | rgb(63, 30, 138) |
| HSL | hsl(258, 64%, 33%) |
| HSV | hsv(258, 78%, 54%) |
| CMYK | cmyk(54.3%, 78.3%, 0%, 45.9%) |
| CIE-LAB | lab(23.07, 42.19, -54.13) |
| CIE-LCH | lch(23.07, 68.63, 307.93°) |
| OKLab | oklab(35.58% 0.0538 -0.1556) |
| OKLCH | oklch(35.58% 0.165 289.1) |
| XYZ | xyz(7.1003, 3.8200, 24.4030) |
| Luminance | 0.0382 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.30
Indigo
#4B0082
ΔE00 4.73
Royal
#0C1793
ΔE00 5.33
Indigo Blue
#3A18B1
ΔE00 5.60
Midnight Blue
#191970
ΔE00 6.41
Cobalt Blue
#030AA7
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F1E8A #698A1E
analogous
#1E338A #3F1E8A #751E8A
triadic
#3F1E8A #8A3F1E #1E8A3F
tetradic
#3F1E8A #8A1E33 #698A1E #1E8A75
square
#3F1E8A #8A1E33 #698A1E #1E8A75
split-complementary
#3F1E8A #8A751E #338A1E
monochromatic
#110825 #281358 #3F1E8A #5629BC #764BD8
Accessibility & contrast
On white
11.90
#3F1E8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#3F1E8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F1E8A
11.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F1E8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F1E8A | 1.00 | 11.90 | 1.76 | 11.90 |
| #FFFFFF | 11.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00398D
Deuteranopia (green-blind)
#003488
Tritanopia (blue-blind)
#223C53
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #3f1e8a; /* rgb */ color: rgb(63, 30, 138); /* oklch */ color: oklch(35.6% 0.165 289.1);
Tailwind
colors: {
custom: {
50: '#7d5ead',
500: '#3f1e8a',
950: '#000000',
},
}SCSS
$custom: #3f1e8a; $custom-light: #7d5ead; $custom-dark: #000000;
JSON
{
"hex": "#3f1e8a",
"rgb": {
"r": 63,
"g": 30,
"b": 138
},
"hsl": {
"h": 258.333,
"s": 64.286,
"l": 32.941
},
"oklch": {
"l": 0.35576,
"c": 0.16467,
"h": 289.1
},
"luminance": 0.0382
}Semantic roles & 50–950 ramp
primary
#3F1E8A
secondary
#98BA4A
accent
#E741B4
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F