#3E147E#3E147E
#3E147E is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.2% C 0.161 H 293.3°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).
Color values
| HEX | #3E147E |
|---|---|
| RGB | rgb(62, 20, 126) |
| HSL | hsl(264, 73%, 29%) |
| HSV | hsv(264, 84%, 49%) |
| CMYK | cmyk(50.8%, 84.1%, 0%, 50.6%) |
| CIE-LAB | lab(20.17, 43.22, -51.34) |
| CIE-LCH | lch(20.17, 67.11, 310.09°) |
| OKLab | oklab(33.17% 0.0636 -0.1474) |
| OKLCH | oklch(33.17% 0.161 293.3) |
| XYZ | xyz(6.0016, 3.0306, 20.0034) |
| Luminance | 0.0303 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 2.58
Indigo
#4B0082
ΔE00 3.07
Royal Purple (survey)
#4B006E
ΔE00 4.83
Midnight Blue
#191970
ΔE00 5.99
Royal
#0C1793
ΔE00 6.19
Darkblue
#00008B
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E147E #547E14
analogous
#141F7E #3E147E #73147E
triadic
#3E147E #7E3E14 #147E3E
tetradic
#3E147E #7E141F #547E14 #147E73
square
#3E147E #7E141F #547E14 #147E73
split-complementary
#3E147E #7E7314 #1F7E14
monochromatic
#0D041A #240C49 #3E147E #581CB3 #742EDE
Accessibility & contrast
On white
13.07
#3E147E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#3E147E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E147E
13.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E147E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E147E | 1.00 | 13.07 | 1.61 | 13.07 |
| #FFFFFF | 13.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003281
Deuteranopia (green-blind)
#002F7C
Tritanopia (blue-blind)
#29334A
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #3e147e; /* rgb */ color: rgb(62, 20, 126); /* oklch */ color: oklch(33.2% 0.161 293.3);
Tailwind
colors: {
custom: {
50: '#7b58a4',
500: '#3e147e',
950: '#000000',
},
}SCSS
$custom: #3e147e; $custom-light: #7b58a4; $custom-dark: #000000;
JSON
{
"hex": "#3e147e",
"rgb": {
"r": 62,
"g": 20,
"b": 126
},
"hsl": {
"h": 263.774,
"s": 72.603,
"l": 28.627
},
"oklch": {
"l": 0.33165,
"c": 0.16055,
"h": 293.3
},
"luminance": 0.03031
}Semantic roles & 50–950 ramp
primary
#3E147E
secondary
#83B33A
accent
#EF38A7
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F