#4B2D9F#4B2D9F
#4B2D9F is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.7% C 0.173 H 288.3°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).
Color values
| HEX | #4B2D9F |
|---|---|
| RGB | rgb(75, 45, 159) |
| HSL | hsl(256, 56%, 40%) |
| HSV | hsv(256, 72%, 62%) |
| CMYK | cmyk(52.8%, 71.7%, 0%, 37.6%) |
| CIE-LAB | lab(29.10, 42.42, -57.13) |
| CIE-LCH | lch(29.10, 71.15, 306.60°) |
| OKLab | oklab(40.74% 0.0542 -0.1641) |
| OKLCH | oklch(40.74% 0.173 288.3) |
| XYZ | xyz(10.0962, 5.8754, 33.3962) |
| Luminance | 0.0588 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.96
Rebeccapurple
#663399
ΔE00 5.50
Darkslateblue
#483D8B
ΔE00 6.06
Ocean Blue
#4F42B5
ΔE00 6.21
Blueberry
#464196
ΔE00 6.26
Blue With A Hint Of Purple
#533CC6
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B2D9F #819F2D
analogous
#2D489F #4B2D9F #842D9F
triadic
#4B2D9F #9F4B2D #2D9F4B
tetradic
#4B2D9F #9F2D48 #819F2D #2D9F84
square
#4B2D9F #9F2D48 #819F2D #2D9F84
split-complementary
#4B2D9F #9F842D #489F2D
monochromatic
#1E1240 #34206F #4B2D9F #6440C9 #8B70D6
Accessibility & contrast
On white
9.65
#4B2D9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#4B2D9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B2D9F
9.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B2D9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B2D9F | 1.00 | 9.65 | 2.18 | 9.65 |
| #FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#00429D
Tritanopia (blue-blind)
#2B4B63
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #4b2d9f; /* rgb */ color: rgb(75, 45, 159); /* oklch */ color: oklch(40.7% 0.173 288.3);
Tailwind
colors: {
custom: {
50: '#8669bc',
500: '#4b2d9f',
950: '#000000',
},
}SCSS
$custom: #4b2d9f; $custom-light: #8669bc; $custom-dark: #000000;
JSON
{
"hex": "#4b2d9f",
"rgb": {
"r": 75,
"g": 45,
"b": 159
},
"hsl": {
"h": 255.789,
"s": 55.882,
"l": 40
},
"oklch": {
"l": 0.40739,
"c": 0.17284,
"h": 288.3
},
"luminance": 0.05876
}Semantic roles & 50–950 ramp
primary
#4B2D9F
secondary
#A8BE6A
accent
#DF49B8
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81