#4B2D9C#4B2D9C
#4B2D9C is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.5% C 0.169 H 288.9°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).
Color values
| HEX | #4B2D9C |
|---|---|
| RGB | rgb(75, 45, 156) |
| HSL | hsl(256, 55%, 39%) |
| HSV | hsv(256, 71%, 61%) |
| CMYK | cmyk(51.9%, 71.2%, 0%, 38.8%) |
| CIE-LAB | lab(28.83, 41.53, -55.73) |
| CIE-LCH | lch(28.83, 69.51, 306.69°) |
| OKLab | oklab(40.47% 0.0548 -0.16) |
| OKLCH | oklch(40.47% 0.169 288.9) |
| XYZ | xyz(9.8390, 5.7725, 32.0418) |
| Luminance | 0.0577 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 5.23
Rebeccapurple
#663399
ΔE00 5.38
Darkslateblue
#483D8B
ΔE00 5.82
Blueberry
#464196
ΔE00 6.18
Ocean Blue
#4F42B5
ΔE00 6.46
Sapphire (survey)
#2138AB
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B2D9C #7E9C2D
analogous
#2D479C #4B2D9C #832D9C
triadic
#4B2D9C #9C4B2D #2D9C4B
tetradic
#4B2D9C #9C2D47 #7E9C2D #2D9C83
square
#4B2D9C #9C2D47 #7E9C2D #2D9C83
split-complementary
#4B2D9C #9C832D #479C2D
monochromatic
#1D123D #341F6D #4B2D9C #643FC8 #8A6ED5
Accessibility & contrast
On white
9.75
#4B2D9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#4B2D9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B2D9C
9.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B2D9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B2D9C | 1.00 | 9.75 | 2.15 | 9.75 |
| #FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469F
Deuteranopia (green-blind)
#00419A
Tritanopia (blue-blind)
#2E4A61
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #4b2d9c; /* rgb */ color: rgb(75, 45, 156); /* oklch */ color: oklch(40.5% 0.169 288.9);
Tailwind
colors: {
custom: {
50: '#8568ba',
500: '#4b2d9c',
950: '#000000',
},
}SCSS
$custom: #4b2d9c; $custom-light: #8568ba; $custom-dark: #000000;
JSON
{
"hex": "#4b2d9c",
"rgb": {
"r": 75,
"g": 45,
"b": 156
},
"hsl": {
"h": 256.216,
"s": 55.224,
"l": 39.412
},
"oklch": {
"l": 0.40469,
"c": 0.16916,
"h": 288.9
},
"luminance": 0.05773
}Semantic roles & 50–950 ramp
primary
#4B2D9C
secondary
#A6BC68
accent
#DF49B6
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81