#4E197E#4E197E
#4E197E is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.7% C 0.158 H 302.7°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).
Color values
| HEX | #4E197E |
|---|---|
| RGB | rgb(78, 25, 126) |
| HSL | hsl(271, 67%, 30%) |
| HSV | hsv(271, 80%, 49%) |
| CMYK | cmyk(38.1%, 80.2%, 0%, 50.6%) |
| CIE-LAB | lab(23.07, 43.68, -46.49) |
| CIE-LCH | lch(23.07, 63.79, 313.21°) |
| OKLab | oklab(35.67% 0.0852 -0.1327) |
| OKLCH | oklch(35.67% 0.158 302.7) |
| XYZ | xyz(7.2545, 3.8213, 20.0900) |
| Luminance | 0.0382 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.15
Royal Purple (survey)
#4B006E
ΔE00 4.06
Indigo (survey)
#380282
ΔE00 5.09
Rebeccapurple
#663399
ΔE00 7.45
Indigo Blue
#3A18B1
ΔE00 8.47
Midnight Blue
#191970
ΔE00 8.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E197E #497E19
analogous
#1C197E #4E197E #7E197C
triadic
#4E197E #7E4E19 #197E4E
tetradic
#4E197E #7E1C19 #497E19 #197C7E
square
#4E197E #7E1C19 #497E19 #197C7E
split-complementary
#4E197E #7C7E19 #197E1C
monochromatic
#10051A #2E0F4B #4E197E #6E23B1 #8D3AD8
Accessibility & contrast
On white
11.90
#4E197E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#4E197E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E197E
11.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E197E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E197E | 1.00 | 11.90 | 1.76 | 11.90 |
| #FFFFFF | 11.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003681
Deuteranopia (green-blind)
#00377C
Tritanopia (blue-blind)
#44344B
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #4e197e; /* rgb */ color: rgb(78, 25, 126); /* oklch */ color: oklch(35.7% 0.158 302.7);
Tailwind
colors: {
custom: {
50: '#855ca4',
500: '#4e197e',
950: '#000000',
},
}SCSS
$custom: #4e197e; $custom-light: #855ca4; $custom-dark: #000000;
JSON
{
"hex": "#4e197e",
"rgb": {
"r": 78,
"g": 25,
"b": 126
},
"hsl": {
"h": 271.485,
"s": 66.887,
"l": 29.608
},
"oklch": {
"l": 0.35665,
"c": 0.15765,
"h": 302.7
},
"luminance": 0.03821
}Semantic roles & 50–950 ramp
primary
#4E197E
secondary
#77B241
accent
#EA3E90
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F