#4E219F#4E219F
#4E219F is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.6% C 0.186 H 291.7°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).
Color values
| HEX | #4E219F |
|---|---|
| RGB | rgb(78, 33, 159) |
| HSL | hsl(261, 66%, 38%) |
| HSV | hsv(261, 79%, 62%) |
| CMYK | cmyk(50.9%, 79.2%, 0%, 37.6%) |
| CIE-LAB | lab(27.33, 48.84, -60.02) |
| CIE-LCH | lch(27.33, 77.38, 309.14°) |
| OKLab | oklab(39.57% 0.0688 -0.1724) |
| OKLCH | oklch(39.57% 0.186 291.7) |
| XYZ | xyz(9.9420, 5.2102, 33.2760) |
| Luminance | 0.0521 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.84
Violet Blue
#510AC9
ΔE00 5.68
Rebeccapurple
#663399
ΔE00 6.01
Indigo
#4B0082
ΔE00 6.19
Ultramarine
#2000B1
ΔE00 6.52
Indigo (survey)
#380282
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E219F #729F21
analogous
#21339F #4E219F #8D219F
triadic
#4E219F #9F4E21 #219F4E
tetradic
#4E219F #9F2133 #729F21 #219F8D
square
#4E219F #9F2133 #729F21 #219F8D
split-complementary
#4E219F #9F8D21 #339F21
monochromatic
#1C0C3A #35166C #4E219F #672CD2 #8B5DDD
Accessibility & contrast
On white
10.28
#4E219F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#4E219F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E219F
10.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E219F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E219F | 1.00 | 10.28 | 2.04 | 10.28 |
| #FFFFFF | 10.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#003E9D
Tritanopia (blue-blind)
#334560
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #4e219f; /* rgb */ color: rgb(78, 33, 159); /* oklch */ color: oklch(39.6% 0.186 291.7);
Tailwind
colors: {
custom: {
50: '#8862bc',
500: '#4e219f',
950: '#000000',
},
}SCSS
$custom: #4e219f; $custom-light: #8862bc; $custom-dark: #000000;
JSON
{
"hex": "#4e219f",
"rgb": {
"r": 78,
"g": 33,
"b": 159
},
"hsl": {
"h": 261.429,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.39569,
"c": 0.18561,
"h": 291.7
},
"luminance": 0.05211
}Semantic roles & 50–950 ramp
primary
#4E219F
secondary
#9DC25A
accent
#E93FAC
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0512
muted
#7D7A81