#3F1E7D#3F1E7D
#3F1E7D is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.3% C 0.149 H 292.6°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).
Color values
| HEX | #3F1E7D |
|---|---|
| RGB | rgb(63, 30, 125) |
| HSL | hsl(261, 61%, 30%) |
| HSV | hsv(261, 76%, 49%) |
| CMYK | cmyk(49.6%, 76%, 0%, 51%) |
| CIE-LAB | lab(21.82, 38.42, -47.99) |
| CIE-LCH | lch(21.82, 61.47, 308.68°) |
| OKLab | oklab(34.32% 0.0573 -0.1376) |
| OKLCH | oklch(34.32% 0.149 292.6) |
| XYZ | xyz(6.2148, 3.4658, 19.7396) |
| Luminance | 0.0347 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.49
Indigo
#4B0082
ΔE00 4.62
Midnight Blue
#191970
ΔE00 5.77
Royal Purple (survey)
#4B006E
ΔE00 5.87
Royal
#0C1793
ΔE00 6.57
Indigo Blue
#3A18B1
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F1E7D #5C7D1E
analogous
#1E2D7D #3F1E7D #6E1E7D
triadic
#3F1E7D #7D3F1E #1E7D3F
tetradic
#3F1E7D #7D1E2D #5C7D1E #1E7D6E
square
#3F1E7D #7D1E2D #5C7D1E #1E7D6E
split-complementary
#3F1E7D #7D6E1E #2D7D1E
monochromatic
#0D061A #26124C #3F1E7D #582AAE #7543D2
Accessibility & contrast
On white
12.40
#3F1E7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#3F1E7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F1E7D
12.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F1E7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F1E7D | 1.00 | 12.40 | 1.69 | 12.40 |
| #FFFFFF | 12.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003680
Deuteranopia (green-blind)
#00327B
Tritanopia (blue-blind)
#2C374C
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #3f1e7d; /* rgb */ color: rgb(63, 30, 125); /* oklch */ color: oklch(34.3% 0.149 292.6);
Tailwind
colors: {
custom: {
50: '#7b5da4',
500: '#3f1e7d',
950: '#000000',
},
}SCSS
$custom: #3f1e7d; $custom-light: #7b5da4; $custom-dark: #000000;
JSON
{
"hex": "#3f1e7d",
"rgb": {
"r": 63,
"g": 30,
"b": 125
},
"hsl": {
"h": 260.842,
"s": 61.29,
"l": 30.392
},
"oklch": {
"l": 0.34319,
"c": 0.1491,
"h": 292.6
},
"luminance": 0.03466
}Semantic roles & 50–950 ramp
primary
#3F1E7D
secondary
#8CB046
accent
#E443AC
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F