#3E197D#3E197D
#3E197D is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.6% C 0.155 H 292.9°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).
Color values
| HEX | #3E197D |
|---|---|
| RGB | rgb(62, 25, 125) |
| HSL | hsl(262, 67%, 29%) |
| HSV | hsv(262, 80%, 49%) |
| CMYK | cmyk(50.4%, 80%, 0%, 51%) |
| CIE-LAB | lab(20.83, 40.73, -49.62) |
| CIE-LCH | lch(20.83, 64.20, 309.38°) |
| OKLab | oklab(33.59% 0.0601 -0.1424) |
| OKLCH | oklch(33.59% 0.155 292.9) |
| XYZ | xyz(6.0349, 3.1999, 19.6977) |
| Luminance | 0.0320 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.47
Indigo
#4B0082
ΔE00 3.80
Royal Purple (survey)
#4B006E
ΔE00 5.25
Midnight Blue
#191970
ΔE00 5.72
Royal
#0C1793
ΔE00 6.29
Darkblue
#00008B
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E197D #587D19
analogous
#19267D #3E197D #70197D
triadic
#3E197D #7D3E19 #197D3E
tetradic
#3E197D #7D1926 #587D19 #197D70
square
#3E197D #7D1926 #587D19 #197D70
split-complementary
#3E197D #7D7019 #267D19
monochromatic
#0D051A #250F4A #3E197D #5723B0 #7439D7
Accessibility & contrast
On white
12.80
#3E197D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#3E197D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E197D
12.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E197D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E197D | 1.00 | 12.80 | 1.64 | 12.80 |
| #FFFFFF | 12.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003380
Deuteranopia (green-blind)
#00307B
Tritanopia (blue-blind)
#2A354A
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #3e197d; /* rgb */ color: rgb(62, 25, 125); /* oklch */ color: oklch(33.6% 0.155 292.9);
Tailwind
colors: {
custom: {
50: '#7b5aa4',
500: '#3e197d',
950: '#000000',
},
}SCSS
$custom: #3e197d; $custom-light: #7b5aa4; $custom-dark: #000000;
JSON
{
"hex": "#3e197d",
"rgb": {
"r": 62,
"g": 25,
"b": 125
},
"hsl": {
"h": 262.2,
"s": 66.667,
"l": 29.412
},
"oklch": {
"l": 0.33594,
"c": 0.15459,
"h": 292.9
},
"luminance": 0.032
}Semantic roles & 50–950 ramp
primary
#3E197D
secondary
#88B140
accent
#EA3EAA
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F