#4A2BB5#4A2BB5
#4A2BB5 is a dark, highly saturated violet. Relative luminance 0.065; OKLCH L 42.5% C 0.201 H 284.1°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).
Color values
| HEX | #4A2BB5 |
|---|---|
| RGB | rgb(74, 43, 181) |
| HSL | hsl(253, 62%, 44%) |
| HSV | hsv(253, 76%, 71%) |
| CMYK | cmyk(59.1%, 76.2%, 0%, 29%) |
| CIE-LAB | lab(30.69, 49.78, -67.74) |
| CIE-LCH | lch(30.69, 84.07, 306.31°) |
| OKLab | oklab(42.47% 0.0491 -0.1952) |
| OKLCH | oklch(42.47% 0.201 284.1) |
| XYZ | xyz(12.0258, 6.5190, 44.3317) |
| Luminance | 0.0652 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.92
Violet Blue
#510AC9
ΔE00 4.41
Purple Blue
#5D21D0
ΔE00 4.43
Blue With A Hint Of Purple
#533CC6
ΔE00 4.75
Blurple
#5539CC
ΔE00 4.80
Ocean Blue
#4F42B5
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A2BB5 #96B52B
analogous
#2B51B5 #4A2BB5 #8F2BB5
triadic
#4A2BB5 #B54A2B #2BB54A
tetradic
#4A2BB5 #B52B51 #96B52B #2BB58F
square
#4A2BB5 #B52B51 #96B52B #2BB58F
split-complementary
#4A2BB5 #B58F2B #51B52B
monochromatic
#221452 #361F84 #4A2BB5 #6849D4 #917BE0
Accessibility & contrast
On white
9.11
#4A2BB5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#4A2BB5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A2BB5
9.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A2BB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A2BB5 | 1.00 | 9.11 | 2.30 | 9.11 |
| #FFFFFF | 9.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CB9
Deuteranopia (green-blind)
#0044B2
Tritanopia (blue-blind)
#05526F
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #4a2bb5; /* rgb */ color: rgb(74, 43, 181); /* oklch */ color: oklch(42.5% 0.201 284.1);
Tailwind
colors: {
custom: {
50: '#8968cc',
500: '#4a2bb5',
950: '#000000',
},
}SCSS
$custom: #4a2bb5; $custom-light: #8968cc; $custom-dark: #000000;
JSON
{
"hex": "#4a2bb5",
"rgb": {
"r": 74,
"g": 43,
"b": 181
},
"hsl": {
"h": 253.478,
"s": 61.607,
"l": 43.922
},
"oklch": {
"l": 0.42465,
"c": 0.20129,
"h": 284.1
},
"luminance": 0.0652
}Semantic roles & 50–950 ramp
primary
#4A2BB5
secondary
#B5C874
accent
#E543C0
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82