#4A2BB1#4A2BB1
#4A2BB1 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.1% C 0.197 H 284.8°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).
Color values
| HEX | #4A2BB1 |
|---|---|
| RGB | rgb(74, 43, 177) |
| HSL | hsl(254, 61%, 43%) |
| HSV | hsv(254, 76%, 69%) |
| CMYK | cmyk(58.2%, 75.7%, 0%, 30.6%) |
| CIE-LAB | lab(30.30, 48.61, -66.00) |
| CIE-LCH | lch(30.30, 81.97, 306.37°) |
| OKLab | oklab(42.07% 0.0502 -0.1901) |
| OKLCH | oklch(42.07% 0.197 284.8) |
| XYZ | xyz(11.6213, 6.3572, 42.2011) |
| Luminance | 0.0636 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.84
Violet Blue
#510AC9
ΔE00 4.70
Purple Blue
#5D21D0
ΔE00 4.87
Blue With A Hint Of Purple
#533CC6
ΔE00 5.08
Blurple
#5539CC
ΔE00 5.21
Ocean Blue
#4F42B5
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A2BB1 #92B12B
analogous
#2B4FB1 #4A2BB1 #8D2BB1
triadic
#4A2BB1 #B14A2B #2BB14A
tetradic
#4A2BB1 #B12B4F #92B12B #2BB18D
square
#4A2BB1 #B12B4F #92B12B #2BB18D
split-complementary
#4A2BB1 #B18D2B #4FB12B
monochromatic
#21134F #351F80 #4A2BB1 #6747D2 #9078DE
Accessibility & contrast
On white
9.24
#4A2BB1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#4A2BB1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A2BB1
9.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A2BB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A2BB1 | 1.00 | 9.24 | 2.27 | 9.24 |
| #FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BB5
Deuteranopia (green-blind)
#0043AF
Tritanopia (blue-blind)
#11516C
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #4a2bb1; /* rgb */ color: rgb(74, 43, 177); /* oklch */ color: oklch(42.1% 0.197 284.8);
Tailwind
colors: {
custom: {
50: '#8868c9',
500: '#4a2bb1',
950: '#000000',
},
}SCSS
$custom: #4a2bb1; $custom-light: #8868c9; $custom-dark: #000000;
JSON
{
"hex": "#4a2bb1",
"rgb": {
"r": 74,
"g": 43,
"b": 177
},
"hsl": {
"h": 253.881,
"s": 60.909,
"l": 43.137
},
"oklch": {
"l": 0.42074,
"c": 0.19663,
"h": 284.8
},
"luminance": 0.06358
}Semantic roles & 50–950 ramp
primary
#4A2BB1
secondary
#B3C672
accent
#E444BF
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82