#4E22E3#4E22E3
#4E22E3 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.7% C 0.258 H 280.0°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #4E22E3 |
|---|---|
| RGB | rgb(78, 34, 227) |
| HSL | hsl(254, 78%, 51%) |
| HSV | hsv(254, 85%, 89%) |
| CMYK | cmyk(65.6%, 85%, 0%, 11%) |
| CIE-LAB | lab(34.62, 66.67, -88.04) |
| CIE-LCH | lch(34.62, 110.44, 307.14°) |
| OKLab | oklab(46.7% 0.045 -0.2541) |
| OKLCH | oklch(46.7% 0.258 280) |
| XYZ | xyz(17.5746, 8.3084, 73.3357) |
| Luminance | 0.0831 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blue Purple
#5A06EF
ΔE00 2.37
Blue Violet
#5D06E9
ΔE00 2.40
Purple Blue
#5D21D0
ΔE00 2.70
Purply Blue
#661AEE
ΔE00 3.13
Purplish Blue
#601EF9
ΔE00 3.58
Rich Blue
#021BF9
ΔE00 3.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E22E3 #B7E322
analogous
#2256E3 #4E22E3 #AE22E3
triadic
#4E22E3 #E34E22 #22E34E
tetradic
#4E22E3 #E32256 #B7E322 #22E3AE
square
#4E22E3 #E32256 #B7E322 #22E3AE
split-complementary
#4E22E3 #E3AE22 #56E322
monochromatic
#28107B #3A16B1 #4E22E3 #7A58EA #A58FF1
Accessibility & contrast
On white
7.89
#4E22E3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#4E22E3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E22E3
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E22E3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E22E3 | 1.00 | 7.89 | 2.66 | 7.89 |
| #FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058E8
Deuteranopia (green-blind)
#004AE0
Tritanopia (blue-blind)
#006288
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #4e22e3; /* rgb */ color: rgb(78, 34, 227); /* oklch */ color: oklch(46.7% 0.258 280.0);
Tailwind
colors: {
custom: {
50: '#9467ed',
500: '#4e22e3',
950: '#000000',
},
}SCSS
$custom: #4e22e3; $custom-light: #9467ed; $custom-dark: #000000;
JSON
{
"hex": "#4e22e3",
"rgb": {
"r": 78,
"g": 34,
"b": 227
},
"hsl": {
"h": 253.679,
"s": 77.51,
"l": 51.176
},
"oklch": {
"l": 0.46699,
"c": 0.25806,
"h": 280
},
"luminance": 0.0831
}Semantic roles & 50–950 ramp
primary
#4E22E3
secondary
#C8DB86
accent
#F434C8
background
#FAF6FE
surface
#F4EBFD
border
#CEC6D5
text
#0F0717
muted
#7F7A85