#4C22E3#4C22E3
#4C22E3 is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 46.5% C 0.258 H 279.4°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #4C22E3 |
|---|---|
| RGB | rgb(76, 34, 227) |
| HSL | hsl(253, 78%, 51%) |
| HSV | hsv(253, 85%, 89%) |
| CMYK | cmyk(66.5%, 85%, 0%, 11%) |
| CIE-LAB | lab(34.45, 66.53, -88.33) |
| CIE-LCH | lch(34.45, 110.58, 306.99°) |
| OKLab | oklab(46.54% 0.0421 -0.255) |
| OKLCH | oklch(46.54% 0.258 279.4) |
| XYZ | xyz(17.4132, 8.2251, 73.3281) |
| Luminance | 0.0823 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blue Purple
#5A06EF
ΔE00 2.48
Blue Violet
#5D06E9
ΔE00 2.52
Purple Blue
#5D21D0
ΔE00 2.80
Purply Blue
#661AEE
ΔE00 3.32
Rich Blue
#021BF9
ΔE00 3.53
Purplish Blue
#601EF9
ΔE00 3.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C22E3 #B9E322
analogous
#2258E3 #4C22E3 #AC22E3
triadic
#4C22E3 #E34C22 #22E34C
tetradic
#4C22E3 #E32258 #B9E322 #22E3AC
square
#4C22E3 #E32258 #B9E322 #22E3AC
split-complementary
#4C22E3 #E3AC22 #58E322
monochromatic
#27107B #3816B1 #4C22E3 #7858EA #A48FF1
Accessibility & contrast
On white
7.94
#4C22E3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#4C22E3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C22E3
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C22E3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C22E3 | 1.00 | 7.94 | 2.65 | 7.94 |
| #FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058E8
Deuteranopia (green-blind)
#0049E0
Tritanopia (blue-blind)
#006288
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #4c22e3; /* rgb */ color: rgb(76, 34, 227); /* oklch */ color: oklch(46.5% 0.258 279.4);
Tailwind
colors: {
custom: {
50: '#9367ed',
500: '#4c22e3',
950: '#000000',
},
}SCSS
$custom: #4c22e3; $custom-light: #9367ed; $custom-dark: #000000;
JSON
{
"hex": "#4c22e3",
"rgb": {
"r": 76,
"g": 34,
"b": 227
},
"hsl": {
"h": 253.057,
"s": 77.51,
"l": 51.176
},
"oklch": {
"l": 0.46541,
"c": 0.25843,
"h": 279.4
},
"luminance": 0.08227
}Semantic roles & 50–950 ramp
primary
#4C22E3
secondary
#C8DB86
accent
#F434CA
background
#FAF6FE
surface
#F3EBFD
border
#CDC6D5
text
#0F0717
muted
#7F7A85