#4B2BB4#4B2BB4
#4B2BB4 is a dark, highly saturated violet. Relative luminance 0.065; OKLCH L 42.5% C 0.200 H 284.7°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).
Color values
| HEX | #4B2BB4 |
|---|---|
| RGB | rgb(75, 43, 180) |
| HSL | hsl(254, 61%, 44%) |
| HSV | hsv(254, 76%, 71%) |
| CMYK | cmyk(58.3%, 76.1%, 0%, 29.4%) |
| CIE-LAB | lab(30.68, 49.62, -67.15) |
| CIE-LCH | lch(30.68, 83.49, 306.46°) |
| OKLab | oklab(42.46% 0.0509 -0.1934) |
| OKLCH | oklch(42.46% 0.2 284.7) |
| XYZ | xyz(12.0012, 6.5182, 43.7969) |
| Luminance | 0.0652 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.96
Violet Blue
#510AC9
ΔE00 4.45
Purple Blue
#5D21D0
ΔE00 4.46
Blue With A Hint Of Purple
#533CC6
ΔE00 4.79
Blurple
#5539CC
ΔE00 4.86
Ocean Blue
#4F42B5
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B2BB4 #94B42B
analogous
#2B4FB4 #4B2BB4 #8F2BB4
triadic
#4B2BB4 #B44B2B #2BB44B
tetradic
#4B2BB4 #B42B4F #94B42B #2BB48F
square
#4B2BB4 #B42B4F #94B42B #2BB48F
split-complementary
#4B2BB4 #B48F2B #4FB42B
monochromatic
#221351 #361F83 #4B2BB4 #6949D3 #927ADF
Accessibility & contrast
On white
9.12
#4B2BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#4B2BB4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B2BB4
9.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B2BB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B2BB4 | 1.00 | 9.12 | 2.30 | 9.12 |
| #FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CB8
Deuteranopia (green-blind)
#0044B1
Tritanopia (blue-blind)
#0F526E
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #4b2bb4; /* rgb */ color: rgb(75, 43, 180); /* oklch */ color: oklch(42.5% 0.200 284.7);
Tailwind
colors: {
custom: {
50: '#8968cc',
500: '#4b2bb4',
950: '#000000',
},
}SCSS
$custom: #4b2bb4; $custom-light: #8968cc; $custom-dark: #000000;
JSON
{
"hex": "#4b2bb4",
"rgb": {
"r": 75,
"g": 43,
"b": 180
},
"hsl": {
"h": 254.015,
"s": 61.435,
"l": 43.725
},
"oklch": {
"l": 0.42457,
"c": 0.20001,
"h": 284.7
},
"luminance": 0.06519
}Semantic roles & 50–950 ramp
primary
#4B2BB4
secondary
#B4C773
accent
#E543BF
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82