#4C2CB5#4C2CB5
#4C2CB5 is a dark, highly saturated violet. Relative luminance 0.067; OKLCH L 42.8% C 0.200 H 284.9°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).
Color values
| HEX | #4C2CB5 |
|---|---|
| RGB | rgb(76, 44, 181) |
| HSL | hsl(254, 61%, 44%) |
| HSV | hsv(254, 76%, 71%) |
| CMYK | cmyk(58%, 75.7%, 0%, 29%) |
| CIE-LAB | lab(31.05, 49.54, -67.13) |
| CIE-LCH | lch(31.05, 83.43, 306.43°) |
| OKLab | oklab(42.77% 0.0514 -0.1934) |
| OKLCH | oklch(42.77% 0.2 284.9) |
| XYZ | xyz(12.2191, 6.6733, 44.3513) |
| Luminance | 0.0667 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.22
Purple Blue
#5D21D0
ΔE00 4.32
Blue With A Hint Of Purple
#533CC6
ΔE00 4.52
Violet Blue
#510AC9
ΔE00 4.52
Blurple
#5539CC
ΔE00 4.58
Ocean Blue
#4F42B5
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C2CB5 #95B52C
analogous
#2C50B5 #4C2CB5 #912CB5
triadic
#4C2CB5 #B54C2C #2CB54C
tetradic
#4C2CB5 #B52C50 #95B52C #2CB591
square
#4C2CB5 #B52C50 #95B52C #2CB591
split-complementary
#4C2CB5 #B5912C #50B52C
monochromatic
#231453 #372084 #4C2CB5 #6B4BD3 #937CDF
Accessibility & contrast
On white
8.99
#4C2CB5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#4C2CB5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C2CB5
8.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C2CB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C2CB5 | 1.00 | 8.99 | 2.33 | 8.99 |
| #FFFFFF | 8.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DB9
Deuteranopia (green-blind)
#0045B2
Tritanopia (blue-blind)
#12536F
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #4c2cb5; /* rgb */ color: rgb(76, 44, 181); /* oklch */ color: oklch(42.8% 0.200 284.9);
Tailwind
colors: {
custom: {
50: '#8a69cc',
500: '#4c2cb5',
950: '#000000',
},
}SCSS
$custom: #4c2cb5; $custom-light: #8a69cc; $custom-dark: #000000;
JSON
{
"hex": "#4c2cb5",
"rgb": {
"r": 76,
"g": 44,
"b": 181
},
"hsl": {
"h": 254.015,
"s": 60.889,
"l": 44.118
},
"oklch": {
"l": 0.42767,
"c": 0.20009,
"h": 284.9
},
"luminance": 0.06674
}Semantic roles & 50–950 ramp
primary
#4C2CB5
secondary
#B4C875
accent
#E444BF
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82