#3E147F#3E147F
#3E147F is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.3% C 0.162 H 293.0°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).
Color values
| HEX | #3E147F |
|---|---|
| RGB | rgb(62, 20, 127) |
| HSL | hsl(264, 73%, 29%) |
| HSV | hsv(264, 84%, 50%) |
| CMYK | cmyk(51.2%, 84.3%, 0%, 50.2%) |
| CIE-LAB | lab(20.27, 43.49, -51.81) |
| CIE-LCH | lch(20.27, 67.64, 310.01°) |
| OKLab | oklab(33.27% 0.0632 -0.1488) |
| OKLCH | oklch(33.27% 0.162 293) |
| XYZ | xyz(6.0665, 3.0565, 20.3449) |
| Luminance | 0.0306 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 2.53
Indigo
#4B0082
ΔE00 3.06
Royal Purple (survey)
#4B006E
ΔE00 4.94
Midnight Blue
#191970
ΔE00 6.02
Royal
#0C1793
ΔE00 6.08
Darkblue
#00008B
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E147F #557F14
analogous
#14207F #3E147F #74147F
triadic
#3E147F #7F3E14 #147F3E
tetradic
#3E147F #7F1420 #557F14 #147F74
square
#3E147F #7F1420 #557F14 #147F74
split-complementary
#3E147F #7F7414 #207F14
monochromatic
#0D041A #240C4A #3E147F #581CB4 #742FDE
Accessibility & contrast
On white
13.03
#3E147F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#3E147F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E147F
13.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E147F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E147F | 1.00 | 13.03 | 1.61 | 13.03 |
| #FFFFFF | 13.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003282
Deuteranopia (green-blind)
#002F7D
Tritanopia (blue-blind)
#29344B
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #3e147f; /* rgb */ color: rgb(62, 20, 127); /* oklch */ color: oklch(33.3% 0.162 293.0);
Tailwind
colors: {
custom: {
50: '#7b58a5',
500: '#3e147f',
950: '#000000',
},
}SCSS
$custom: #3e147f; $custom-light: #7b58a5; $custom-dark: #000000;
JSON
{
"hex": "#3e147f",
"rgb": {
"r": 62,
"g": 20,
"b": 127
},
"hsl": {
"h": 263.551,
"s": 72.789,
"l": 28.824
},
"oklch": {
"l": 0.33267,
"c": 0.16166,
"h": 293
},
"luminance": 0.03057
}Semantic roles & 50–950 ramp
primary
#3E147F
secondary
#84B43B
accent
#EF38A8
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F