#4B2EB2#4B2EB2
#4B2EB2 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.6% C 0.195 H 284.6°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).
Color values
| HEX | #4B2EB2 |
|---|---|
| RGB | rgb(75, 46, 178) |
| HSL | hsl(253, 59%, 44%) |
| HSV | hsv(253, 74%, 70%) |
| CMYK | cmyk(57.9%, 74.2%, 0%, 30.2%) |
| CIE-LAB | lab(31.03, 47.51, -65.39) |
| CIE-LCH | lch(31.03, 80.83, 306.00°) |
| OKLab | oklab(42.64% 0.0492 -0.1883) |
| OKLCH | oklch(42.64% 0.195 284.6) |
| XYZ | xyz(11.9121, 6.6635, 42.7693) |
| Luminance | 0.0666 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.46
Blue With A Hint Of Purple
#533CC6
ΔE00 4.48
Blurple
#5539CC
ΔE00 4.68
Purple Blue
#5D21D0
ΔE00 4.84
Ocean Blue
#4F42B5
ΔE00 5.01
Violet Blue
#510AC9
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B2EB2 #95B22E
analogous
#2E53B2 #4B2EB2 #8D2EB2
triadic
#4B2EB2 #B24B2E #2EB24B
tetradic
#4B2EB2 #B22E53 #95B22E #2EB28D
square
#4B2EB2 #B22E53 #95B22E #2EB28D
split-complementary
#4B2EB2 #B28D2E #53B22E
monochromatic
#221551 #372181 #4B2EB2 #694CD1 #927DDD
Accessibility & contrast
On white
9.00
#4B2EB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#4B2EB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B2EB2
9.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B2EB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B2EB2 | 1.00 | 9.00 | 2.33 | 9.00 |
| #FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DB6
Deuteranopia (green-blind)
#0045B0
Tritanopia (blue-blind)
#13536E
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #4b2eb2; /* rgb */ color: rgb(75, 46, 178); /* oklch */ color: oklch(42.6% 0.195 284.6);
Tailwind
colors: {
custom: {
50: '#896aca',
500: '#4b2eb2',
950: '#000000',
},
}SCSS
$custom: #4b2eb2; $custom-light: #896aca; $custom-dark: #000000;
JSON
{
"hex": "#4b2eb2",
"rgb": {
"r": 75,
"g": 46,
"b": 178
},
"hsl": {
"h": 253.182,
"s": 58.929,
"l": 43.922
},
"oklch": {
"l": 0.42641,
"c": 0.19464,
"h": 284.6
},
"luminance": 0.06664
}Semantic roles & 50–950 ramp
primary
#4B2EB2
secondary
#B4C676
accent
#E246C0
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0713
muted
#7E7A82