#4B2CA0#4B2CA0
#4B2CA0 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.7% C 0.175 H 288.3°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).
Color values
| HEX | #4B2CA0 |
|---|---|
| RGB | rgb(75, 44, 160) |
| HSL | hsl(256, 57%, 40%) |
| HSV | hsv(256, 73%, 63%) |
| CMYK | cmyk(53.1%, 72.5%, 0%, 37.3%) |
| CIE-LAB | lab(28.99, 43.25, -57.90) |
| CIE-LCH | lch(28.99, 72.28, 306.76°) |
| OKLab | oklab(40.69% 0.0549 -0.1664) |
| OKLCH | oklch(40.69% 0.175 288.3) |
| XYZ | xyz(10.1456, 5.8348, 33.8425) |
| Luminance | 0.0583 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.71
Rebeccapurple
#663399
ΔE00 5.59
Ocean Blue
#4F42B5
ΔE00 6.33
Darkslateblue
#483D8B
ΔE00 6.34
Blueberry
#464196
ΔE00 6.52
Violet Blue
#510AC9
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B2CA0 #81A02C
analogous
#2C47A0 #4B2CA0 #852CA0
triadic
#4B2CA0 #A04B2C #2CA04B
tetradic
#4B2CA0 #A02C47 #81A02C #2CA085
square
#4B2CA0 #A02C47 #81A02C #2CA085
split-complementary
#4B2CA0 #A0852C #47A02C
monochromatic
#1E1240 #341F70 #4B2CA0 #643FCA #8B6FD7
Accessibility & contrast
On white
9.69
#4B2CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#4B2CA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B2CA0
9.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B2CA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B2CA0 | 1.00 | 9.69 | 2.17 | 9.69 |
| #FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A3
Deuteranopia (green-blind)
#00419E
Tritanopia (blue-blind)
#2A4B63
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #4b2ca0; /* rgb */ color: rgb(75, 44, 160); /* oklch */ color: oklch(40.7% 0.175 288.3);
Tailwind
colors: {
custom: {
50: '#8668bd',
500: '#4b2ca0',
950: '#000000',
},
}SCSS
$custom: #4b2ca0; $custom-light: #8668bd; $custom-dark: #000000;
JSON
{
"hex": "#4b2ca0",
"rgb": {
"r": 75,
"g": 44,
"b": 160
},
"hsl": {
"h": 256.034,
"s": 56.863,
"l": 40
},
"oklch": {
"l": 0.40692,
"c": 0.17522,
"h": 288.3
},
"luminance": 0.05835
}Semantic roles & 50–950 ramp
primary
#4B2CA0
secondary
#A8BF69
accent
#E048B7
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81