#4C2CB3#4C2CB3
#4C2CB3 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.6% C 0.198 H 285.2°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).
Color values
| HEX | #4C2CB3 |
|---|---|
| RGB | rgb(76, 44, 179) |
| HSL | hsl(254, 61%, 44%) |
| HSV | hsv(254, 75%, 70%) |
| CMYK | cmyk(57.5%, 75.4%, 0%, 29.8%) |
| CIE-LAB | lab(30.86, 48.96, -66.26) |
| CIE-LCH | lch(30.86, 82.39, 306.46°) |
| OKLab | oklab(42.57% 0.0519 -0.1908) |
| OKLCH | oklch(42.57% 0.198 285.2) |
| XYZ | xyz(12.0154, 6.5918, 43.2783) |
| Luminance | 0.0659 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.18
Purple Blue
#5D21D0
ΔE00 4.54
Violet Blue
#510AC9
ΔE00 4.65
Blue With A Hint Of Purple
#533CC6
ΔE00 4.69
Blurple
#5539CC
ΔE00 4.79
Ocean Blue
#4F42B5
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C2CB3 #93B32C
analogous
#2C4FB3 #4C2CB3 #8F2CB3
triadic
#4C2CB3 #B34C2C #2CB34C
tetradic
#4C2CB3 #B32C4F #93B32C #2CB38F
square
#4C2CB3 #B32C4F #93B32C #2CB38F
split-complementary
#4C2CB3 #B38F2C #4FB32C
monochromatic
#221451 #372082 #4C2CB3 #6A4AD2 #927BDF
Accessibility & contrast
On white
9.06
#4C2CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#4C2CB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C2CB3
9.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C2CB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C2CB3 | 1.00 | 9.06 | 2.32 | 9.06 |
| #FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CB7
Deuteranopia (green-blind)
#0044B1
Tritanopia (blue-blind)
#16526E
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #4c2cb3; /* rgb */ color: rgb(76, 44, 179); /* oklch */ color: oklch(42.6% 0.198 285.2);
Tailwind
colors: {
custom: {
50: '#8a69cb',
500: '#4c2cb3',
950: '#000000',
},
}SCSS
$custom: #4c2cb3; $custom-light: #8a69cb; $custom-dark: #000000;
JSON
{
"hex": "#4c2cb3",
"rgb": {
"r": 76,
"g": 44,
"b": 179
},
"hsl": {
"h": 254.222,
"s": 60.538,
"l": 43.725
},
"oklch": {
"l": 0.42574,
"c": 0.19775,
"h": 285.2
},
"luminance": 0.06593
}Semantic roles & 50–950 ramp
primary
#4C2CB3
secondary
#B3C774
accent
#E444BE
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82