#4C2CB2#4C2CB2
#4C2CB2 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.5% C 0.197 H 285.4°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).
Color values
| HEX | #4C2CB2 |
|---|---|
| RGB | rgb(76, 44, 178) |
| HSL | hsl(254, 60%, 44%) |
| HSV | hsv(254, 75%, 70%) |
| CMYK | cmyk(57.3%, 75.3%, 0%, 30.2%) |
| CIE-LAB | lab(30.76, 48.67, -65.82) |
| CIE-LCH | lch(30.76, 81.86, 306.48°) |
| OKLab | oklab(42.48% 0.0521 -0.1895) |
| OKLCH | oklch(42.48% 0.197 285.4) |
| XYZ | xyz(11.9146, 6.5515, 42.7476) |
| Luminance | 0.0655 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.16
Purple Blue
#5D21D0
ΔE00 4.65
Violet Blue
#510AC9
ΔE00 4.73
Blue With A Hint Of Purple
#533CC6
ΔE00 4.77
Blurple
#5539CC
ΔE00 4.89
Ocean Blue
#4F42B5
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C2CB2 #92B22C
analogous
#2C4FB2 #4C2CB2 #8F2CB2
triadic
#4C2CB2 #B24C2C #2CB24C
tetradic
#4C2CB2 #B22C4F #92B22C #2CB28F
square
#4C2CB2 #B22C4F #92B22C #2CB28F
split-complementary
#4C2CB2 #B28F2C #4FB22C
monochromatic
#221450 #372081 #4C2CB2 #6A49D2 #927ADE
Accessibility & contrast
On white
9.09
#4C2CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#4C2CB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C2CB2
9.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C2CB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C2CB2 | 1.00 | 9.09 | 2.31 | 9.09 |
| #FFFFFF | 9.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CB6
Deuteranopia (green-blind)
#0044B0
Tritanopia (blue-blind)
#18526D
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #4c2cb2; /* rgb */ color: rgb(76, 44, 178); /* oklch */ color: oklch(42.5% 0.197 285.4);
Tailwind
colors: {
custom: {
50: '#8a69ca',
500: '#4c2cb2',
950: '#000000',
},
}SCSS
$custom: #4c2cb2; $custom-light: #8a69ca; $custom-dark: #000000;
JSON
{
"hex": "#4c2cb2",
"rgb": {
"r": 76,
"g": 44,
"b": 178
},
"hsl": {
"h": 254.328,
"s": 60.36,
"l": 43.529
},
"oklch": {
"l": 0.42478,
"c": 0.19658,
"h": 285.4
},
"luminance": 0.06552
}Semantic roles & 50–950 ramp
primary
#4C2CB2
secondary
#B3C673
accent
#E444BD
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82