#3E196E#3E196E
#3E196E is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.2% C 0.137 H 298.0°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).
Color values
| HEX | #3E196E |
|---|---|
| RGB | rgb(62, 25, 110) |
| HSL | hsl(266, 63%, 26%) |
| HSV | hsv(266, 77%, 43%) |
| CMYK | cmyk(43.6%, 77.3%, 0%, 56.9%) |
| CIE-LAB | lab(19.41, 36.54, -42.30) |
| CIE-LCH | lch(19.41, 55.89, 310.82°) |
| OKLab | oklab(32.17% 0.0643 -0.1209) |
| OKLCH | oklch(32.17% 0.137 298) |
| XYZ | xyz(5.1480, 2.8451, 15.0268) |
| Luminance | 0.0284 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 4.38
Indigo
#4B0082
ΔE00 4.97
Indigo (survey)
#380282
ΔE00 5.17
Midnight Blue
#191970
ΔE00 6.13
Dark Indigo
#1F0954
ΔE00 6.47
Dark Royal Blue
#02066F
ΔE00 7.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E196E #496E19
analogous
#191E6E #3E196E #69196E
triadic
#3E196E #6E3E19 #196E3E
tetradic
#3E196E #6E191E #496E19 #196E69
square
#3E196E #6E191E #496E19 #196E69
split-complementary
#3E196E #6E6919 #1E6E19
monochromatic
#0E0619 #220E3C #3E196E #5A24A0 #7631D0
Accessibility & contrast
On white
13.38
#3E196E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#3E196E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E196E
13.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E196E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E196E | 1.00 | 13.38 | 1.57 | 13.38 |
| #FFFFFF | 13.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F70
Deuteranopia (green-blind)
#002E6C
Tritanopia (blue-blind)
#322F42
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #3e196e; /* rgb */ color: rgb(62, 25, 110); /* oklch */ color: oklch(32.2% 0.137 298.0);
Tailwind
colors: {
custom: {
50: '#785a98',
500: '#3e196e',
950: '#000000',
},
}SCSS
$custom: #3e196e; $custom-light: #785a98; $custom-dark: #000000;
JSON
{
"hex": "#3e196e",
"rgb": {
"r": 62,
"g": 25,
"b": 110
},
"hsl": {
"h": 266.118,
"s": 62.963,
"l": 26.471
},
"oklch": {
"l": 0.32166,
"c": 0.13698,
"h": 298
},
"luminance": 0.02845
}Semantic roles & 50–950 ramp
primary
#3E196E
secondary
#78A33F
accent
#E6429F
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E