#4C2CA0#4C2CA0
#4C2CA0 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.8% C 0.175 H 288.8°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).
Color values
| HEX | #4C2CA0 |
|---|---|
| RGB | rgb(76, 44, 160) |
| HSL | hsl(257, 57%, 40%) |
| HSV | hsv(257, 73%, 63%) |
| CMYK | cmyk(52.5%, 72.5%, 0%, 37.3%) |
| CIE-LAB | lab(29.10, 43.42, -57.73) |
| CIE-LCH | lch(29.10, 72.23, 306.95°) |
| OKLab | oklab(40.79% 0.0564 -0.1658) |
| OKLCH | oklch(40.79% 0.175 288.8) |
| XYZ | xyz(10.2245, 5.8755, 33.8462) |
| Luminance | 0.0588 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.78
Rebeccapurple
#663399
ΔE00 5.44
Ocean Blue
#4F42B5
ΔE00 6.33
Darkslateblue
#483D8B
ΔE00 6.36
Violet Blue
#510AC9
ΔE00 6.52
Blueberry
#464196
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C2CA0 #80A02C
analogous
#2C46A0 #4C2CA0 #862CA0
triadic
#4C2CA0 #A04C2C #2CA04C
tetradic
#4C2CA0 #A02C46 #80A02C #2CA086
square
#4C2CA0 #A02C46 #80A02C #2CA086
split-complementary
#4C2CA0 #A0862C #46A02C
monochromatic
#1E1240 #351F70 #4C2CA0 #653FCA #8C6FD7
Accessibility & contrast
On white
9.65
#4C2CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#4C2CA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C2CA0
9.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C2CA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C2CA0 | 1.00 | 9.65 | 2.18 | 9.65 |
| #FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A3
Deuteranopia (green-blind)
#00429E
Tritanopia (blue-blind)
#2D4B63
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #4c2ca0; /* rgb */ color: rgb(76, 44, 160); /* oklch */ color: oklch(40.8% 0.175 288.8);
Tailwind
colors: {
custom: {
50: '#8768bd',
500: '#4c2ca0',
950: '#000000',
},
}SCSS
$custom: #4c2ca0; $custom-light: #8768bd; $custom-dark: #000000;
JSON
{
"hex": "#4c2ca0",
"rgb": {
"r": 76,
"g": 44,
"b": 160
},
"hsl": {
"h": 256.552,
"s": 56.863,
"l": 40
},
"oklch": {
"l": 0.40791,
"c": 0.17517,
"h": 288.8
},
"luminance": 0.05876
}Semantic roles & 50–950 ramp
primary
#4C2CA0
secondary
#A7BF69
accent
#E048B6
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81