#4A2AB9#4A2AB9
#4A2AB9 is a dark, highly saturated violet. Relative luminance 0.066; OKLCH L 42.7% C 0.207 H 283.6°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).
Color values
| HEX | #4A2AB9 |
|---|---|
| RGB | rgb(74, 42, 185) |
| HSL | hsl(253, 63%, 45%) |
| HSV | hsv(253, 77%, 73%) |
| CMYK | cmyk(60%, 77.3%, 0%, 27.5%) |
| CIE-LAB | lab(30.91, 51.43, -69.75) |
| CIE-LCH | lch(30.91, 86.66, 306.41°) |
| OKLab | oklab(42.74% 0.0487 -0.201) |
| OKLCH | oklch(42.74% 0.207 283.6) |
| XYZ | xyz(12.4063, 6.6137, 46.5124) |
| Luminance | 0.0662 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.92
Purple Blue
#5D21D0
ΔE00 3.98
Violet Blue
#510AC9
ΔE00 4.01
Blurple
#5539CC
ΔE00 4.56
Blue With A Hint Of Purple
#533CC6
ΔE00 4.62
Ocean Blue
#4F42B5
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A2AB9 #99B92A
analogous
#2A51B9 #4A2AB9 #922AB9
triadic
#4A2AB9 #B94A2A #2AB94A
tetradic
#4A2AB9 #B92A51 #99B92A #2AB992
square
#4A2AB9 #B92A51 #99B92A #2AB992
split-complementary
#4A2AB9 #B9922A #51B92A
monochromatic
#221355 #361F87 #4A2AB9 #6A4AD6 #937CE1
Accessibility & contrast
On white
9.04
#4A2AB9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#4A2AB9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A2AB9
9.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A2AB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A2AB9 | 1.00 | 9.04 | 2.32 | 9.04 |
| #FFFFFF | 9.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DBD
Deuteranopia (green-blind)
#0044B6
Tritanopia (blue-blind)
#005471
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #4a2ab9; /* rgb */ color: rgb(74, 42, 185); /* oklch */ color: oklch(42.7% 0.207 283.6);
Tailwind
colors: {
custom: {
50: '#8a68cf',
500: '#4a2ab9',
950: '#000000',
},
}SCSS
$custom: #4a2ab9; $custom-light: #8a68cf; $custom-dark: #000000;
JSON
{
"hex": "#4a2ab9",
"rgb": {
"r": 74,
"g": 42,
"b": 185
},
"hsl": {
"h": 253.427,
"s": 62.996,
"l": 44.51
},
"oklch": {
"l": 0.42741,
"c": 0.20686,
"h": 283.6
},
"luminance": 0.06615
}Semantic roles & 50–950 ramp
primary
#4A2AB9
secondary
#B7CA75
accent
#E642C1
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82