#4B2AB1#4B2AB1
#4B2AB1 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.0% C 0.198 H 285.4°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).
Color values
| HEX | #4B2AB1 |
|---|---|
| RGB | rgb(75, 42, 177) |
| HSL | hsl(255, 62%, 43%) |
| HSV | hsv(255, 76%, 69%) |
| CMYK | cmyk(57.6%, 76.3%, 0%, 30.6%) |
| CIE-LAB | lab(30.22, 49.24, -66.12) |
| CIE-LCH | lch(30.22, 82.44, 306.68°) |
| OKLab | oklab(42.04% 0.0524 -0.1904) |
| OKLCH | oklch(42.04% 0.198 285.4) |
| XYZ | xyz(11.6630, 6.3254, 42.1928) |
| Luminance | 0.0633 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.73
Violet Blue
#510AC9
ΔE00 4.52
Purple Blue
#5D21D0
ΔE00 4.76
Blue With A Hint Of Purple
#533CC6
ΔE00 5.21
Blurple
#5539CC
ΔE00 5.30
Ocean Blue
#4F42B5
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B2AB1 #90B12A
analogous
#2A4CB1 #4B2AB1 #8F2AB1
triadic
#4B2AB1 #B14B2A #2AB14B
tetradic
#4B2AB1 #B12A4C #90B12A #2AB18F
square
#4B2AB1 #B12A4C #90B12A #2AB18F
split-complementary
#4B2AB1 #B18F2A #4CB12A
monochromatic
#21134E #361E80 #4B2AB1 #6845D3 #9077DF
Accessibility & contrast
On white
9.27
#4B2AB1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#4B2AB1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B2AB1
9.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B2AB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B2AB1 | 1.00 | 9.27 | 2.27 | 9.27 |
| #FFFFFF | 9.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BB5
Deuteranopia (green-blind)
#0043AF
Tritanopia (blue-blind)
#16506C
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #4b2ab1; /* rgb */ color: rgb(75, 42, 177); /* oklch */ color: oklch(42.0% 0.198 285.4);
Tailwind
colors: {
custom: {
50: '#8968c9',
500: '#4b2ab1',
950: '#000000',
},
}SCSS
$custom: #4b2ab1; $custom-light: #8968c9; $custom-dark: #000000;
JSON
{
"hex": "#4b2ab1",
"rgb": {
"r": 75,
"g": 42,
"b": 177
},
"hsl": {
"h": 254.667,
"s": 61.644,
"l": 42.941
},
"oklch": {
"l": 0.42043,
"c": 0.19751,
"h": 285.4
},
"luminance": 0.06326
}Semantic roles & 50–950 ramp
primary
#4B2AB1
secondary
#B1C670
accent
#E543BD
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82