#4E206E#4E206E
#4E206E is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.2% C 0.131 H 308.1°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).
Color values
| HEX | #4E206E |
|---|---|
| RGB | rgb(78, 32, 110) |
| HSL | hsl(275, 55%, 28%) |
| HSV | hsv(275, 71%, 43%) |
| CMYK | cmyk(29.1%, 70.9%, 0%, 56.9%) |
| CIE-LAB | lab(22.93, 36.40, -36.49) |
| CIE-LCH | lch(22.93, 51.54, 314.92°) |
| OKLab | oklab(35.15% 0.081 -0.1033) |
| OKLCH | oklch(35.15% 0.131 308.1) |
| XYZ | xyz(6.4723, 3.7786, 15.1372) |
| Luminance | 0.0378 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 4.86
Indigo
#4B0082
ΔE00 6.24
Plum Purple
#4E0550
ΔE00 7.36
Indigo (survey)
#380282
ΔE00 7.93
Darkish Purple
#751973
ΔE00 8.33
Rebeccapurple
#663399
ΔE00 8.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E206E #406E20
analogous
#27206E #4E206E #6E2067
triadic
#4E206E #6E4E20 #206E4E
tetradic
#4E206E #6E2720 #406E20 #20676E
square
#4E206E #6E2720 #406E20 #20676E
split-complementary
#4E206E #676E20 #206E27
monochromatic
#110718 #2C123F #4E206E #702E9D #9041C8
Accessibility & contrast
On white
11.96
#4E206E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#4E206E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E206E
11.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E206E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E206E | 1.00 | 11.96 | 1.76 | 11.96 |
| #FFFFFF | 11.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003570
Deuteranopia (green-blind)
#0F376C
Tritanopia (blue-blind)
#493144
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #4e206e; /* rgb */ color: rgb(78, 32, 110); /* oklch */ color: oklch(35.2% 0.131 308.1);
Tailwind
colors: {
custom: {
50: '#835f98',
500: '#4e206e',
950: '#000000',
},
}SCSS
$custom: #4e206e; $custom-light: #835f98; $custom-dark: #000000;
JSON
{
"hex": "#4e206e",
"rgb": {
"r": 78,
"g": 32,
"b": 110
},
"hsl": {
"h": 275.385,
"s": 54.93,
"l": 27.843
},
"oklch": {
"l": 0.35153,
"c": 0.13127,
"h": 308.1
},
"luminance": 0.03779
}Semantic roles & 50–950 ramp
primary
#4E206E
secondary
#6DA248
accent
#DE4A87
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050E
muted
#7C797E