#4B2CA2#4B2CA2
#4B2CA2 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.9% C 0.178 H 287.9°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).
Color values
| HEX | #4B2CA2 |
|---|---|
| RGB | rgb(75, 44, 162) |
| HSL | hsl(256, 57%, 40%) |
| HSV | hsv(256, 73%, 64%) |
| CMYK | cmyk(53.7%, 72.8%, 0%, 36.5%) |
| CIE-LAB | lab(29.17, 43.84, -58.82) |
| CIE-LCH | lch(29.17, 73.36, 306.70°) |
| OKLab | oklab(40.88% 0.0545 -0.1691) |
| OKLCH | oklch(40.88% 0.178 287.9) |
| XYZ | xyz(10.3220, 5.9053, 34.7714) |
| Luminance | 0.0591 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.56
Rebeccapurple
#663399
ΔE00 5.69
Ocean Blue
#4F42B5
ΔE00 6.18
Violet Blue
#510AC9
ΔE00 6.30
Blue With A Hint Of Purple
#533CC6
ΔE00 6.47
Darkslateblue
#483D8B
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B2CA2 #83A22C
analogous
#2C48A2 #4B2CA2 #862CA2
triadic
#4B2CA2 #A24B2C #2CA24B
tetradic
#4B2CA2 #A22C48 #83A22C #2CA286
square
#4B2CA2 #A22C48 #83A22C #2CA286
split-complementary
#4B2CA2 #A2862C #48A22C
monochromatic
#1E1242 #351F72 #4B2CA2 #6540CB #8C70D8
Accessibility & contrast
On white
9.63
#4B2CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#4B2CA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B2CA2
9.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B2CA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B2CA2 | 1.00 | 9.63 | 2.18 | 9.63 |
| #FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A5
Deuteranopia (green-blind)
#0042A0
Tritanopia (blue-blind)
#294B64
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #4b2ca2; /* rgb */ color: rgb(75, 44, 162); /* oklch */ color: oklch(40.9% 0.178 287.9);
Tailwind
colors: {
custom: {
50: '#8668bf',
500: '#4b2ca2',
950: '#000000',
},
}SCSS
$custom: #4b2ca2; $custom-light: #8668bf; $custom-dark: #000000;
JSON
{
"hex": "#4b2ca2",
"rgb": {
"r": 75,
"g": 44,
"b": 162
},
"hsl": {
"h": 255.763,
"s": 57.282,
"l": 40.392
},
"oklch": {
"l": 0.40876,
"c": 0.17764,
"h": 287.9
},
"luminance": 0.05906
}Semantic roles & 50–950 ramp
primary
#4B2CA2
secondary
#A9BF6A
accent
#E147B8
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81