#4E219B#4E219B
#4E219B is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.2% C 0.181 H 292.7°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).
Color values
| HEX | #4E219B |
|---|---|
| RGB | rgb(78, 33, 155) |
| HSL | hsl(262, 65%, 37%) |
| HSV | hsv(262, 79%, 61%) |
| CMYK | cmyk(49.7%, 78.7%, 0%, 39.2%) |
| CIE-LAB | lab(26.94, 47.76, -58.20) |
| CIE-LCH | lch(26.94, 75.29, 309.37°) |
| OKLab | oklab(39.19% 0.07 -0.1671) |
| OKLCH | oklch(39.19% 0.181 292.7) |
| XYZ | xyz(9.6005, 5.0736, 31.4775) |
| Luminance | 0.0507 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.28
Indigo
#4B0082
ΔE00 5.77
Rebeccapurple
#663399
ΔE00 5.88
Violet Blue
#510AC9
ΔE00 6.23
Indigo (survey)
#380282
ΔE00 6.48
Ultramarine
#2000B1
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E219B #6E9B21
analogous
#21319B #4E219B #8B219B
triadic
#4E219B #9B4E21 #219B4E
tetradic
#4E219B #9B2131 #6E9B21 #219B8B
square
#4E219B #9B2131 #6E9B21 #219B8B
split-complementary
#4E219B #9B8B21 #319B21
monochromatic
#1B0C36 #351669 #4E219B #672CCD #8A5ADC
Accessibility & contrast
On white
10.42
#4E219B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#4E219B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E219B
10.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E219B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E219B | 1.00 | 10.42 | 2.01 | 10.42 |
| #FFFFFF | 10.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00419E
Deuteranopia (green-blind)
#003D99
Tritanopia (blue-blind)
#35435D
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #4e219b; /* rgb */ color: rgb(78, 33, 155); /* oklch */ color: oklch(39.2% 0.181 292.7);
Tailwind
colors: {
custom: {
50: '#8862ba',
500: '#4e219b',
950: '#000000',
},
}SCSS
$custom: #4e219b; $custom-light: #8862ba; $custom-dark: #000000;
JSON
{
"hex": "#4e219b",
"rgb": {
"r": 78,
"g": 33,
"b": 155
},
"hsl": {
"h": 262.131,
"s": 64.894,
"l": 36.863
},
"oklch": {
"l": 0.39187,
"c": 0.18115,
"h": 292.7
},
"luminance": 0.05074
}Semantic roles & 50–950 ramp
primary
#4E219B
secondary
#9AC058
accent
#E840AA
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81