#4C2A99#4C2A99
#4C2A99 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.9% C 0.169 H 290.7°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).
Color values
| HEX | #4C2A99 |
|---|---|
| RGB | rgb(76, 42, 153) |
| HSL | hsl(258, 57%, 38%) |
| HSV | hsv(258, 73%, 60%) |
| CMYK | cmyk(50.3%, 72.5%, 0%, 40%) |
| CIE-LAB | lab(28.09, 42.45, -55.11) |
| CIE-LCH | lch(28.09, 69.56, 307.61°) |
| OKLab | oklab(39.89% 0.0597 -0.1581) |
| OKLCH | oklch(39.89% 0.169 290.7) |
| XYZ | xyz(9.5566, 5.4920, 30.6873) |
| Luminance | 0.0549 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 5.16
Rebeccapurple
#663399
ΔE00 5.28
Darkslateblue
#483D8B
ΔE00 6.26
Blueberry
#464196
ΔE00 6.87
Indigo
#4B0082
ΔE00 7.17
Violet Blue
#510AC9
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C2A99 #77992A
analogous
#2A4099 #4C2A99 #832A99
triadic
#4C2A99 #994C2A #2A994C
tetradic
#4C2A99 #992A40 #77992A #2A9983
square
#4C2A99 #992A40 #77992A #2A9983
split-complementary
#4C2A99 #99832A #40992A
monochromatic
#1C1039 #341D69 #4C2A99 #6438C8 #8968D6
Accessibility & contrast
On white
10.01
#4C2A99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#4C2A99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C2A99
10.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C2A99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C2A99 | 1.00 | 10.01 | 2.10 | 10.01 |
| #FFFFFF | 10.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449C
Deuteranopia (green-blind)
#004097
Tritanopia (blue-blind)
#32475E
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #4c2a99; /* rgb */ color: rgb(76, 42, 153); /* oklch */ color: oklch(39.9% 0.169 290.7);
Tailwind
colors: {
custom: {
50: '#8667b8',
500: '#4c2a99',
950: '#000000',
},
}SCSS
$custom: #4c2a99; $custom-light: #8667b8; $custom-dark: #000000;
JSON
{
"hex": "#4c2a99",
"rgb": {
"r": 76,
"g": 42,
"b": 153
},
"hsl": {
"h": 258.378,
"s": 56.923,
"l": 38.235
},
"oklch": {
"l": 0.39887,
"c": 0.16903,
"h": 290.7
},
"luminance": 0.05492
}Semantic roles & 50–950 ramp
primary
#4C2A99
secondary
#A1BC63
accent
#E048B1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80