#4C2CB0#4C2CB0
#4C2CB0 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.3% C 0.194 H 285.7°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).
Color values
| HEX | #4C2CB0 |
|---|---|
| RGB | rgb(76, 44, 176) |
| HSL | hsl(255, 60%, 43%) |
| HSV | hsv(255, 75%, 69%) |
| CMYK | cmyk(56.8%, 75%, 0%, 31%) |
| CIE-LAB | lab(30.57, 48.09, -64.94) |
| CIE-LCH | lch(30.57, 80.81, 306.52°) |
| OKLab | oklab(42.29% 0.0527 -0.187) |
| OKLCH | oklch(42.29% 0.194 285.7) |
| XYZ | xyz(11.7153, 6.4718, 41.6977) |
| Luminance | 0.0647 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.14
Purple Blue
#5D21D0
ΔE00 4.88
Violet Blue
#510AC9
ΔE00 4.88
Blue With A Hint Of Purple
#533CC6
ΔE00 4.96
Blurple
#5539CC
ΔE00 5.11
Ocean Blue
#4F42B5
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C2CB0 #90B02C
analogous
#2C4EB0 #4C2CB0 #8E2CB0
triadic
#4C2CB0 #B04C2C #2CB04C
tetradic
#4C2CB0 #B02C4E #90B02C #2CB08E
square
#4C2CB0 #B02C4E #90B02C #2CB08E
split-complementary
#4C2CB0 #B08E2C #4EB02C
monochromatic
#22144E #37207F #4C2CB0 #6948D1 #9179DD
Accessibility & contrast
On white
9.15
#4C2CB0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#4C2CB0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C2CB0
9.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C2CB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C2CB0 | 1.00 | 9.15 | 2.29 | 9.15 |
| #FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BB4
Deuteranopia (green-blind)
#0044AE
Tritanopia (blue-blind)
#1B516C
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #4c2cb0; /* rgb */ color: rgb(76, 44, 176); /* oklch */ color: oklch(42.3% 0.194 285.7);
Tailwind
colors: {
custom: {
50: '#8969c9',
500: '#4c2cb0',
950: '#000000',
},
}SCSS
$custom: #4c2cb0; $custom-light: #8969c9; $custom-dark: #000000;
JSON
{
"hex": "#4c2cb0",
"rgb": {
"r": 76,
"g": 44,
"b": 176
},
"hsl": {
"h": 254.545,
"s": 60,
"l": 43.137
},
"oklch": {
"l": 0.42286,
"c": 0.19423,
"h": 285.7
},
"luminance": 0.06472
}Semantic roles & 50–950 ramp
primary
#4C2CB0
secondary
#B1C672
accent
#E345BD
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82