#4A2BB4#4A2BB4
#4A2BB4 is a dark, highly saturated violet. Relative luminance 0.065; OKLCH L 42.4% C 0.200 H 284.3°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).
Color values
| HEX | #4A2BB4 |
|---|---|
| RGB | rgb(74, 43, 180) |
| HSL | hsl(254, 61%, 44%) |
| HSV | hsv(254, 76%, 71%) |
| CMYK | cmyk(58.9%, 76.1%, 0%, 29.4%) |
| CIE-LAB | lab(30.59, 49.49, -67.31) |
| CIE-LCH | lch(30.59, 83.54, 306.33°) |
| OKLab | oklab(42.37% 0.0494 -0.1939) |
| OKLCH | oklch(42.37% 0.2 284.3) |
| XYZ | xyz(11.9236, 6.4781, 43.7933) |
| Luminance | 0.0648 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.89
Violet Blue
#510AC9
ΔE00 4.48
Purple Blue
#5D21D0
ΔE00 4.54
Blue With A Hint Of Purple
#533CC6
ΔE00 4.83
Blurple
#5539CC
ΔE00 4.90
Ocean Blue
#4F42B5
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A2BB4 #95B42B
analogous
#2B50B4 #4A2BB4 #8E2BB4
triadic
#4A2BB4 #B44A2B #2BB44A
tetradic
#4A2BB4 #B42B50 #95B42B #2BB48E
square
#4A2BB4 #B42B50 #95B42B #2BB48E
split-complementary
#4A2BB4 #B48E2B #50B42B
monochromatic
#211351 #361F83 #4A2BB4 #6849D3 #917ADF
Accessibility & contrast
On white
9.15
#4A2BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#4A2BB4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A2BB4
9.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A2BB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A2BB4 | 1.00 | 9.15 | 2.30 | 9.15 |
| #FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CB8
Deuteranopia (green-blind)
#0044B2
Tritanopia (blue-blind)
#08526E
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #4a2bb4; /* rgb */ color: rgb(74, 43, 180); /* oklch */ color: oklch(42.4% 0.200 284.3);
Tailwind
colors: {
custom: {
50: '#8968cc',
500: '#4a2bb4',
950: '#000000',
},
}SCSS
$custom: #4a2bb4; $custom-light: #8968cc; $custom-dark: #000000;
JSON
{
"hex": "#4a2bb4",
"rgb": {
"r": 74,
"g": 43,
"b": 180
},
"hsl": {
"h": 253.577,
"s": 61.435,
"l": 43.725
},
"oklch": {
"l": 0.42366,
"c": 0.20013,
"h": 284.3
},
"luminance": 0.06479
}Semantic roles & 50–950 ramp
primary
#4A2BB4
secondary
#B4C773
accent
#E543C0
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82