#4B2AB9#4B2AB9
#4B2AB9 is a dark, highly saturated violet. Relative luminance 0.067; OKLCH L 42.8% C 0.207 H 284.0°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).
Color values
| HEX | #4B2AB9 |
|---|---|
| RGB | rgb(75, 42, 185) |
| HSL | hsl(254, 63%, 45%) |
| HSV | hsv(254, 77%, 73%) |
| CMYK | cmyk(59.5%, 77.3%, 0%, 27.5%) |
| CIE-LAB | lab(31.01, 51.55, -69.59) |
| CIE-LCH | lch(31.01, 86.60, 306.53°) |
| OKLab | oklab(42.83% 0.0502 -0.2006) |
| OKLCH | oklch(42.83% 0.207 284) |
| XYZ | xyz(12.4839, 6.6538, 46.5160) |
| Luminance | 0.0665 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 3.90
Violet Blue
#510AC9
ΔE00 3.98
Indigo Blue
#3A18B1
ΔE00 3.99
Blurple
#5539CC
ΔE00 4.52
Blue With A Hint Of Purple
#533CC6
ΔE00 4.58
Ocean Blue
#4F42B5
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B2AB9 #98B92A
analogous
#2A51B9 #4B2AB9 #932AB9
triadic
#4B2AB9 #B94B2A #2AB94B
tetradic
#4B2AB9 #B92A51 #98B92A #2AB993
square
#4B2AB9 #B92A51 #98B92A #2AB993
split-complementary
#4B2AB9 #B9932A #51B92A
monochromatic
#231355 #371F87 #4B2AB9 #6A4AD6 #937CE1
Accessibility & contrast
On white
9.01
#4B2AB9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#4B2AB9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B2AB9
9.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B2AB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B2AB9 | 1.00 | 9.01 | 2.33 | 9.01 |
| #FFFFFF | 9.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DBD
Deuteranopia (green-blind)
#0044B6
Tritanopia (blue-blind)
#005471
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #4b2ab9; /* rgb */ color: rgb(75, 42, 185); /* oklch */ color: oklch(42.8% 0.207 284.0);
Tailwind
colors: {
custom: {
50: '#8a68cf',
500: '#4b2ab9',
950: '#000000',
},
}SCSS
$custom: #4b2ab9; $custom-light: #8a68cf; $custom-dark: #000000;
JSON
{
"hex": "#4b2ab9",
"rgb": {
"r": 75,
"g": 42,
"b": 185
},
"hsl": {
"h": 253.846,
"s": 62.996,
"l": 44.51
},
"oklch": {
"l": 0.4283,
"c": 0.20674,
"h": 284
},
"luminance": 0.06655
}Semantic roles & 50–950 ramp
primary
#4B2AB9
secondary
#B6CA75
accent
#E642C0
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82