#4C299A#4C299A
#4C299A is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.8% C 0.171 H 290.6°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).
Color values
| HEX | #4C299A |
|---|---|
| RGB | rgb(76, 41, 154) |
| HSL | hsl(259, 58%, 38%) |
| HSV | hsv(259, 73%, 60%) |
| CMYK | cmyk(50.6%, 73.4%, 0%, 39.6%) |
| CIE-LAB | lab(27.99, 43.26, -55.88) |
| CIE-LCH | lch(27.99, 70.67, 307.75°) |
| OKLab | oklab(39.84% 0.0604 -0.1604) |
| OKLCH | oklch(39.84% 0.171 290.6) |
| XYZ | xyz(9.6045, 5.4551, 31.1125) |
| Luminance | 0.0546 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.92
Rebeccapurple
#663399
ΔE00 5.38
Darkslateblue
#483D8B
ΔE00 6.53
Violet Blue
#510AC9
ΔE00 6.94
Indigo
#4B0082
ΔE00 7.05
Blueberry
#464196
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C299A #779A29
analogous
#293E9A #4C299A #84299A
triadic
#4C299A #9A4C29 #299A4C
tetradic
#4C299A #9A293E #779A29 #299A84
square
#4C299A #9A293E #779A29 #299A84
split-complementary
#4C299A #9A8429 #3E9A29
monochromatic
#1C0F39 #341C6A #4C299A #6437CA #8967D7
Accessibility & contrast
On white
10.04
#4C299A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#4C299A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C299A
10.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C299A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C299A | 1.00 | 10.04 | 2.09 | 10.04 |
| #FFFFFF | 10.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449D
Deuteranopia (green-blind)
#003F98
Tritanopia (blue-blind)
#31475F
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #4c299a; /* rgb */ color: rgb(76, 41, 154); /* oklch */ color: oklch(39.8% 0.171 290.6);
Tailwind
colors: {
custom: {
50: '#8666b9',
500: '#4c299a',
950: '#000000',
},
}SCSS
$custom: #4c299a; $custom-light: #8666b9; $custom-dark: #000000;
JSON
{
"hex": "#4c299a",
"rgb": {
"r": 76,
"g": 41,
"b": 154
},
"hsl": {
"h": 258.584,
"s": 57.949,
"l": 38.235
},
"oklch": {
"l": 0.39844,
"c": 0.1714,
"h": 290.6
},
"luminance": 0.05455
}Semantic roles & 50–950 ramp
primary
#4C299A
secondary
#A1BD62
accent
#E147B1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81