#4A22E3#4A22E3
#4A22E3 is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 46.4% C 0.259 H 278.7°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).
Color values
| HEX | #4A22E3 |
|---|---|
| RGB | rgb(74, 34, 227) |
| HSL | hsl(252, 78%, 51%) |
| HSV | hsv(252, 85%, 89%) |
| CMYK | cmyk(67.4%, 85%, 0%, 11%) |
| CIE-LAB | lab(34.28, 66.39, -88.61) |
| CIE-LCH | lch(34.28, 110.72, 306.84°) |
| OKLab | oklab(46.39% 0.0392 -0.2558) |
| OKLCH | oklch(46.39% 0.259 278.7) |
| XYZ | xyz(17.2567, 8.1445, 73.3208) |
| Luminance | 0.0815 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blue Purple
#5A06EF
ΔE00 2.60
Blue Violet
#5D06E9
ΔE00 2.65
Purple Blue
#5D21D0
ΔE00 2.91
Rich Blue
#021BF9
ΔE00 3.38
Purply Blue
#661AEE
ΔE00 3.50
Strong Blue
#0C06F7
ΔE00 3.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A22E3 #BBE322
analogous
#225AE3 #4A22E3 #AA22E3
triadic
#4A22E3 #E34A22 #22E34A
tetradic
#4A22E3 #E3225A #BBE322 #22E3AA
square
#4A22E3 #E3225A #BBE322 #22E3AA
split-complementary
#4A22E3 #E3AA22 #5AE322
monochromatic
#26107B #3716B1 #4A22E3 #7658EA #A38FF1
Accessibility & contrast
On white
7.99
#4A22E3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#4A22E3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A22E3
7.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A22E3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A22E3 | 1.00 | 7.99 | 2.63 | 7.99 |
| #FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.99 | 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: #4a22e3; /* rgb */ color: rgb(74, 34, 227); /* oklch */ color: oklch(46.4% 0.259 278.7);
Tailwind
colors: {
custom: {
50: '#9267ed',
500: '#4a22e3',
950: '#000000',
},
}SCSS
$custom: #4a22e3; $custom-light: #9267ed; $custom-dark: #000000;
JSON
{
"hex": "#4a22e3",
"rgb": {
"r": 74,
"g": 34,
"b": 227
},
"hsl": {
"h": 252.435,
"s": 77.51,
"l": 51.176
},
"oklch": {
"l": 0.46387,
"c": 0.25881,
"h": 278.7
},
"luminance": 0.08146
}Semantic roles & 50–950 ramp
primary
#4A22E3
secondary
#C9DB86
accent
#F434CC
background
#FAF6FE
surface
#F3EBFD
border
#CDC6D5
text
#0F0717
muted
#7F7A85