#4A22AF#4A22AF
#4A22AF is a dark, highly saturated violet. Relative luminance 0.057; OKLCH L 40.8% C 0.203 H 286.3°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).
Color values
| HEX | #4A22AF |
|---|---|
| RGB | rgb(74, 34, 175) |
| HSL | hsl(257, 67%, 41%) |
| HSV | hsv(257, 81%, 69%) |
| CMYK | cmyk(57.7%, 80.6%, 0%, 31.4%) |
| CIE-LAB | lab(28.63, 52.27, -67.55) |
| CIE-LCH | lch(28.63, 85.41, 307.73°) |
| OKLab | oklab(40.85% 0.0567 -0.1946) |
| OKLCH | oklch(40.85% 0.203 286.3) |
| XYZ | xyz(11.1316, 5.6944, 41.0617) |
| Luminance | 0.0570 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.51
Violet Blue
#510AC9
ΔE00 3.83
Purple Blue
#5D21D0
ΔE00 5.10
True Blue
#010FCC
ΔE00 5.71
Ultramarine
#2000B1
ΔE00 5.81
Mediumblue
#0000CD
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A22AF #87AF22
analogous
#2241AF #4A22AF #9022AF
triadic
#4A22AF #AF4A22 #22AF4A
tetradic
#4A22AF #AF2241 #87AF22 #22AF90
square
#4A22AF #AF2241 #87AF22 #22AF90
split-complementary
#4A22AF #AF9022 #41AF22
monochromatic
#1F0E49 #34187C #4A22AF #6436D8 #8C69E2
Accessibility & contrast
On white
9.82
#4A22AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#4A22AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A22AF
9.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A22AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A22AF | 1.00 | 9.82 | 2.14 | 9.82 |
| #FFFFFF | 9.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047B3
Deuteranopia (green-blind)
#003FAD
Tritanopia (blue-blind)
#164C69
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #4a22af; /* rgb */ color: rgb(74, 34, 175); /* oklch */ color: oklch(40.8% 0.203 286.3);
Tailwind
colors: {
custom: {
50: '#8963c8',
500: '#4a22af',
950: '#000000',
},
}SCSS
$custom: #4a22af; $custom-light: #8963c8; $custom-dark: #000000;
JSON
{
"hex": "#4a22af",
"rgb": {
"r": 74,
"g": 34,
"b": 175
},
"hsl": {
"h": 257.021,
"s": 67.464,
"l": 40.98
},
"oklch": {
"l": 0.4085,
"c": 0.20266,
"h": 286.3
},
"luminance": 0.05695
}Semantic roles & 50–950 ramp
primary
#4A22AF
secondary
#ACC865
accent
#EA3DB9
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82