#4C2C99#4C2C99
#4C2C99 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.2% C 0.167 H 290.3°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).
Color values
| HEX | #4C2C99 |
|---|---|
| RGB | rgb(76, 44, 153) |
| HSL | hsl(258, 55%, 39%) |
| HSV | hsv(258, 71%, 60%) |
| CMYK | cmyk(50.3%, 71.2%, 0%, 40%) |
| CIE-LAB | lab(28.48, 41.37, -54.48) |
| CIE-LCH | lch(28.48, 68.40, 307.21°) |
| OKLab | oklab(40.16% 0.0578 -0.1563) |
| OKLCH | oklch(40.16% 0.167 290.3) |
| XYZ | xyz(9.6293, 5.6374, 30.7116) |
| Luminance | 0.0564 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 5.16
Indigo Blue
#3A18B1
ΔE00 5.45
Darkslateblue
#483D8B
ΔE00 5.84
Blueberry
#464196
ΔE00 6.41
Ocean Blue
#4F42B5
ΔE00 6.93
Sapphire (survey)
#2138AB
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C2C99 #79992C
analogous
#2C4299 #4C2C99 #822C99
triadic
#4C2C99 #994C2C #2C994C
tetradic
#4C2C99 #992C42 #79992C #2C9982
square
#4C2C99 #992C42 #79992C #2C9982
split-complementary
#4C2C99 #99822C #42992C
monochromatic
#1D113A #341E69 #4C2C99 #643BC7 #8A6BD4
Accessibility & contrast
On white
9.87
#4C2C99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#4C2C99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C2C99
9.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C2C99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C2C99 | 1.00 | 9.87 | 2.13 | 9.87 |
| #FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#004197
Tritanopia (blue-blind)
#32485F
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #4c2c99; /* rgb */ color: rgb(76, 44, 153); /* oklch */ color: oklch(40.2% 0.167 290.3);
Tailwind
colors: {
custom: {
50: '#8668b8',
500: '#4c2c99',
950: '#000000',
},
}SCSS
$custom: #4c2c99; $custom-light: #8668b8; $custom-dark: #000000;
JSON
{
"hex": "#4c2c99",
"rgb": {
"r": 76,
"g": 44,
"b": 153
},
"hsl": {
"h": 257.615,
"s": 55.33,
"l": 38.627
},
"oklch": {
"l": 0.40161,
"c": 0.16665,
"h": 290.3
},
"luminance": 0.05638
}Semantic roles & 50–950 ramp
primary
#4C2C99
secondary
#A2BB66
accent
#DF49B3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80