#4A22B3#4A22B3
#4A22B3 is a dark, highly saturated violet. Relative luminance 0.059; OKLCH L 41.3% C 0.207 H 285.5°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).
Color values
| HEX | #4A22B3 |
|---|---|
| RGB | rgb(74, 34, 179) |
| HSL | hsl(257, 68%, 42%) |
| HSV | hsv(257, 81%, 70%) |
| CMYK | cmyk(58.7%, 81%, 0%, 29.8%) |
| CIE-LAB | lab(29.04, 53.37, -69.26) |
| CIE-LCH | lch(29.04, 87.44, 307.62°) |
| OKLab | oklab(41.26% 0.0554 -0.1995) |
| OKLCH | oklch(41.26% 0.207 285.5) |
| XYZ | xyz(11.5303, 5.8539, 43.1614) |
| Luminance | 0.0585 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.56
Violet Blue
#510AC9
ΔE00 3.43
Purple Blue
#5D21D0
ΔE00 4.64
True Blue
#010FCC
ΔE00 5.44
Ultramarine Blue
#1805DB
ΔE00 5.79
Ultramarine
#2000B1
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A22B3 #8BB322
analogous
#2242B3 #4A22B3 #9322B3
triadic
#4A22B3 #B34A22 #22B34A
tetradic
#4A22B3 #B32242 #8BB322 #22B393
square
#4A22B3 #B32242 #8BB322 #22B393
split-complementary
#4A22B3 #B39322 #42B322
monochromatic
#1F0E4C #351880 #4A22B3 #6539D9 #8D6CE3
Accessibility & contrast
On white
9.67
#4A22B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#4A22B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A22B3
9.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A22B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A22B3 | 1.00 | 9.67 | 2.17 | 9.67 |
| #FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048B7
Deuteranopia (green-blind)
#0040B0
Tritanopia (blue-blind)
#0D4E6B
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #4a22b3; /* rgb */ color: rgb(74, 34, 179); /* oklch */ color: oklch(41.3% 0.207 285.5);
Tailwind
colors: {
custom: {
50: '#8964cb',
500: '#4a22b3',
950: '#000000',
},
}SCSS
$custom: #4a22b3; $custom-light: #8964cb; $custom-dark: #000000;
JSON
{
"hex": "#4a22b3",
"rgb": {
"r": 74,
"g": 34,
"b": 179
},
"hsl": {
"h": 256.552,
"s": 68.075,
"l": 41.765
},
"oklch": {
"l": 0.41259,
"c": 0.2071,
"h": 285.5
},
"luminance": 0.05855
}Semantic roles & 50–950 ramp
primary
#4A22B3
secondary
#AEC968
accent
#EB3DBB
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82