#3E197E#3E197E
#3E197E is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.7% C 0.156 H 292.6°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).
Color values
| HEX | #3E197E |
|---|---|
| RGB | rgb(62, 25, 126) |
| HSL | hsl(262, 67%, 30%) |
| HSV | hsv(262, 80%, 49%) |
| CMYK | cmyk(50.8%, 80.2%, 0%, 50.6%) |
| CIE-LAB | lab(20.93, 41.02, -50.09) |
| CIE-LCH | lch(20.93, 64.74, 309.31°) |
| OKLab | oklab(33.69% 0.0598 -0.1438) |
| OKLCH | oklch(33.69% 0.156 292.6) |
| XYZ | xyz(6.0991, 3.2255, 20.0359) |
| Luminance | 0.0323 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.41
Indigo
#4B0082
ΔE00 3.78
Royal Purple (survey)
#4B006E
ΔE00 5.34
Midnight Blue
#191970
ΔE00 5.74
Royal
#0C1793
ΔE00 6.17
Darkblue
#00008B
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E197E #597E19
analogous
#19277E #3E197E #71197E
triadic
#3E197E #7E3E19 #197E3E
tetradic
#3E197E #7E1927 #597E19 #197E71
square
#3E197E #7E1927 #597E19 #197E71
split-complementary
#3E197E #7E7119 #277E19
monochromatic
#0D051A #250F4B #3E197E #5723B1 #743AD8
Accessibility & contrast
On white
12.76
#3E197E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#3E197E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E197E
12.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E197E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E197E | 1.00 | 12.76 | 1.65 | 12.76 |
| #FFFFFF | 12.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003481
Deuteranopia (green-blind)
#00307C
Tritanopia (blue-blind)
#29354B
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #3e197e; /* rgb */ color: rgb(62, 25, 126); /* oklch */ color: oklch(33.7% 0.156 292.6);
Tailwind
colors: {
custom: {
50: '#7b5ba4',
500: '#3e197e',
950: '#000000',
},
}SCSS
$custom: #3e197e; $custom-light: #7b5ba4; $custom-dark: #000000;
JSON
{
"hex": "#3e197e",
"rgb": {
"r": 62,
"g": 25,
"b": 126
},
"hsl": {
"h": 261.98,
"s": 66.887,
"l": 29.608
},
"oklch": {
"l": 0.33692,
"c": 0.15575,
"h": 292.6
},
"luminance": 0.03226
}Semantic roles & 50–950 ramp
primary
#3E197E
secondary
#89B241
accent
#EA3EAB
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F