#4E219E#4E219E
#4E219E is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.5% C 0.184 H 292.0°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).
Color values
| HEX | #4E219E |
|---|---|
| RGB | rgb(78, 33, 158) |
| HSL | hsl(262, 65%, 37%) |
| HSV | hsv(262, 79%, 62%) |
| CMYK | cmyk(50.6%, 79.1%, 0%, 38%) |
| CIE-LAB | lab(27.23, 48.57, -59.57) |
| CIE-LCH | lch(27.23, 76.86, 309.19°) |
| OKLab | oklab(39.47% 0.0691 -0.1711) |
| OKLCH | oklch(39.47% 0.184 292) |
| XYZ | xyz(9.8556, 5.1757, 32.8208) |
| Luminance | 0.0518 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.94
Violet Blue
#510AC9
ΔE00 5.81
Rebeccapurple
#663399
ΔE00 5.97
Indigo
#4B0082
ΔE00 6.08
Ultramarine
#2000B1
ΔE00 6.58
Indigo (survey)
#380282
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E219E #719E21
analogous
#21339E #4E219E #8D219E
triadic
#4E219E #9E4E21 #219E4E
tetradic
#4E219E #9E2133 #719E21 #219E8D
square
#4E219E #9E2133 #719E21 #219E8D
split-complementary
#4E219E #9E8D21 #339E21
monochromatic
#1C0C39 #35166B #4E219E #672CD1 #8B5CDD
Accessibility & contrast
On white
10.32
#4E219E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#4E219E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E219E
10.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E219E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E219E | 1.00 | 10.32 | 2.04 | 10.32 |
| #FFFFFF | 10.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042A1
Deuteranopia (green-blind)
#003E9C
Tritanopia (blue-blind)
#33445F
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #4e219e; /* rgb */ color: rgb(78, 33, 158); /* oklch */ color: oklch(39.5% 0.184 292.0);
Tailwind
colors: {
custom: {
50: '#8862bc',
500: '#4e219e',
950: '#000000',
},
}SCSS
$custom: #4e219e; $custom-light: #8862bc; $custom-dark: #000000;
JSON
{
"hex": "#4e219e",
"rgb": {
"r": 78,
"g": 33,
"b": 158
},
"hsl": {
"h": 261.6,
"s": 65.445,
"l": 37.451
},
"oklch": {
"l": 0.39473,
"c": 0.18449,
"h": 292
},
"luminance": 0.05176
}Semantic roles & 50–950 ramp
primary
#4E219E
secondary
#9CC159
accent
#E83FAC
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81