#4A2BB3#4A2BB3
#4A2BB3 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.3% C 0.199 H 284.4°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).
Color values
| HEX | #4A2BB3 |
|---|---|
| RGB | rgb(74, 43, 179) |
| HSL | hsl(254, 61%, 44%) |
| HSV | hsv(254, 76%, 70%) |
| CMYK | cmyk(58.7%, 76%, 0%, 29.8%) |
| CIE-LAB | lab(30.49, 49.20, -66.87) |
| CIE-LCH | lch(30.49, 83.02, 306.34°) |
| OKLab | oklab(42.27% 0.0496 -0.1927) |
| OKLCH | oklch(42.27% 0.199 284.4) |
| XYZ | xyz(11.8221, 6.4375, 43.2587) |
| Luminance | 0.0644 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.87
Violet Blue
#510AC9
ΔE00 4.55
Purple Blue
#5D21D0
ΔE00 4.65
Blue With A Hint Of Purple
#533CC6
ΔE00 4.91
Blurple
#5539CC
ΔE00 5.00
Ocean Blue
#4F42B5
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A2BB3 #94B32B
analogous
#2B50B3 #4A2BB3 #8E2BB3
triadic
#4A2BB3 #B34A2B #2BB34A
tetradic
#4A2BB3 #B32B50 #94B32B #2BB38E
square
#4A2BB3 #B32B50 #94B32B #2BB38E
split-complementary
#4A2BB3 #B38E2B #50B32B
monochromatic
#211350 #361F82 #4A2BB3 #6848D3 #9179DF
Accessibility & contrast
On white
9.18
#4A2BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#4A2BB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A2BB3
9.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A2BB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A2BB3 | 1.00 | 9.18 | 2.29 | 9.18 |
| #FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CB7
Deuteranopia (green-blind)
#0043B1
Tritanopia (blue-blind)
#0C526D
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #4a2bb3; /* rgb */ color: rgb(74, 43, 179); /* oklch */ color: oklch(42.3% 0.199 284.4);
Tailwind
colors: {
custom: {
50: '#8968cb',
500: '#4a2bb3',
950: '#000000',
},
}SCSS
$custom: #4a2bb3; $custom-light: #8968cb; $custom-dark: #000000;
JSON
{
"hex": "#4a2bb3",
"rgb": {
"r": 74,
"g": 43,
"b": 179
},
"hsl": {
"h": 253.676,
"s": 61.261,
"l": 43.529
},
"oklch": {
"l": 0.42269,
"c": 0.19896,
"h": 284.4
},
"luminance": 0.06438
}Semantic roles & 50–950 ramp
primary
#4A2BB3
secondary
#B4C773
accent
#E443C0
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82