#4E196F#4E196F
#4E196F is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.4% C 0.142 H 308.8°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).
Color values
| HEX | #4E196F |
|---|---|
| RGB | rgb(78, 25, 111) |
| HSL | hsl(277, 63%, 27%) |
| HSV | hsv(277, 77%, 44%) |
| CMYK | cmyk(29.7%, 77.5%, 0%, 56.5%) |
| CIE-LAB | lab(21.81, 40.00, -38.95) |
| CIE-LCH | lch(21.81, 55.83, 315.76°) |
| OKLab | oklab(34.38% 0.0887 -0.1105) |
| OKLCH | oklch(34.38% 0.142 308.8) |
| XYZ | xyz(6.3582, 3.4628, 15.3693) |
| Luminance | 0.0346 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 3.36
Indigo
#4B0082
ΔE00 4.97
Indigo (survey)
#380282
ΔE00 6.88
Plum Purple
#4E0550
ΔE00 7.02
Darkish Purple
#751973
ΔE00 8.36
Deep Violet
#490648
ΔE00 8.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E196F #3A6F19
analogous
#23196F #4E196F #6F1965
triadic
#4E196F #6F4E19 #196F4E
tetradic
#4E196F #6F2319 #3A6F19 #19656F
square
#4E196F #6F2319 #3A6F19 #19656F
split-complementary
#4E196F #656F19 #196F23
monochromatic
#120619 #2B0E3D #4E196F #7124A1 #9432D1
Accessibility & contrast
On white
12.41
#4E196F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#4E196F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E196F
12.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E196F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E196F | 1.00 | 12.41 | 1.69 | 12.41 |
| #FFFFFF | 12.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003271
Deuteranopia (green-blind)
#00356D
Tritanopia (blue-blind)
#492D43
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #4e196f; /* rgb */ color: rgb(78, 25, 111); /* oklch */ color: oklch(34.4% 0.142 308.8);
Tailwind
colors: {
custom: {
50: '#835c99',
500: '#4e196f',
950: '#000000',
},
}SCSS
$custom: #4e196f; $custom-light: #835c99; $custom-dark: #000000;
JSON
{
"hex": "#4e196f",
"rgb": {
"r": 78,
"g": 25,
"b": 111
},
"hsl": {
"h": 276.977,
"s": 63.235,
"l": 26.667
},
"oklch": {
"l": 0.34383,
"c": 0.14169,
"h": 308.8
},
"luminance": 0.03463
}Semantic roles & 50–950 ramp
primary
#4E196F
secondary
#66A43F
accent
#E64281
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E