#4A2BB9#4A2BB9
#4A2BB9 is a dark, highly saturated violet. Relative luminance 0.067; OKLCH L 42.9% C 0.206 H 283.5°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).
Color values
| HEX | #4A2BB9 |
|---|---|
| RGB | rgb(74, 43, 185) |
| HSL | hsl(253, 62%, 45%) |
| HSV | hsv(253, 77%, 73%) |
| CMYK | cmyk(60%, 76.8%, 0%, 27.5%) |
| CIE-LAB | lab(31.08, 50.94, -69.47) |
| CIE-LCH | lch(31.08, 86.14, 306.26°) |
| OKLab | oklab(42.86% 0.048 -0.2002) |
| OKLCH | oklch(42.86% 0.206 283.5) |
| XYZ | xyz(12.4422, 6.6856, 46.5243) |
| Luminance | 0.0669 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 4.02
Indigo Blue
#3A18B1
ΔE00 4.08
Violet Blue
#510AC9
ΔE00 4.18
Blurple
#5539CC
ΔE00 4.42
Blue With A Hint Of Purple
#533CC6
ΔE00 4.45
Ocean Blue
#4F42B5
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A2BB9 #9AB92B
analogous
#2B53B9 #4A2BB9 #912BB9
triadic
#4A2BB9 #B94A2B #2BB94A
tetradic
#4A2BB9 #B92B53 #9AB92B #2BB991
square
#4A2BB9 #B92B53 #9AB92B #2BB991
split-complementary
#4A2BB9 #B9912B #53B92B
monochromatic
#221456 #361F87 #4A2BB9 #6A4CD5 #937EE1
Accessibility & contrast
On white
8.99
#4A2BB9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#4A2BB9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A2BB9
8.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A2BB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A2BB9 | 1.00 | 8.99 | 2.34 | 8.99 |
| #FFFFFF | 8.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.99 | 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: #4a2bb9; /* rgb */ color: rgb(74, 43, 185); /* oklch */ color: oklch(42.9% 0.206 283.5);
Tailwind
colors: {
custom: {
50: '#8a69cf',
500: '#4a2bb9',
950: '#000000',
},
}SCSS
$custom: #4a2bb9; $custom-light: #8a69cf; $custom-dark: #000000;
JSON
{
"hex": "#4a2bb9",
"rgb": {
"r": 74,
"g": 43,
"b": 185
},
"hsl": {
"h": 253.099,
"s": 62.281,
"l": 44.706
},
"oklch": {
"l": 0.42859,
"c": 0.20593,
"h": 283.5
},
"luminance": 0.06686
}Semantic roles & 50–950 ramp
primary
#4A2BB9
secondary
#B7C976
accent
#E542C2
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82