#4C2292#4C2292
#4C2292 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.2% C 0.170 H 293.8°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).
Color values
| HEX | #4C2292 |
|---|---|
| RGB | rgb(76, 34, 146) |
| HSL | hsl(263, 62%, 35%) |
| HSV | hsv(263, 77%, 57%) |
| CMYK | cmyk(47.9%, 76.7%, 0%, 42.7%) |
| CIE-LAB | lab(26.03, 44.53, -54.18) |
| CIE-LCH | lch(26.03, 70.13, 309.41°) |
| OKLab | oklab(38.23% 0.0686 -0.1554) |
| OKLCH | oklch(38.23% 0.17 293.8) |
| XYZ | xyz(8.7394, 4.7556, 27.6460) |
| Luminance | 0.0476 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 5.17
Indigo Blue
#3A18B1
ΔE00 5.31
Rebeccapurple
#663399
ΔE00 5.92
Indigo (survey)
#380282
ΔE00 5.93
Royal
#0C1793
ΔE00 7.21
Ultramarine
#2000B1
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C2292 #689222
analogous
#223092 #4C2292 #842292
triadic
#4C2292 #924C22 #22924C
tetradic
#4C2292 #922230 #689222 #229284
square
#4C2292 #922230 #689222 #229284
split-complementary
#4C2292 #928422 #309222
monochromatic
#180B2F #321660 #4C2292 #662EC4 #8757D8
Accessibility & contrast
On white
10.76
#4C2292 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#4C2292 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C2292
10.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C2292 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C2292 | 1.00 | 10.76 | 1.95 | 10.76 |
| #FFFFFF | 10.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F95
Deuteranopia (green-blind)
#003C90
Tritanopia (blue-blind)
#374059
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #4c2292; /* rgb */ color: rgb(76, 34, 146); /* oklch */ color: oklch(38.2% 0.170 293.8);
Tailwind
colors: {
custom: {
50: '#8562b3',
500: '#4c2292',
950: '#000000',
},
}SCSS
$custom: #4c2292; $custom-light: #8562b3; $custom-dark: #000000;
JSON
{
"hex": "#4c2292",
"rgb": {
"r": 76,
"g": 34,
"b": 146
},
"hsl": {
"h": 262.5,
"s": 62.222,
"l": 35.294
},
"oklch": {
"l": 0.38234,
"c": 0.16986,
"h": 293.8
},
"luminance": 0.04756
}Semantic roles & 50–950 ramp
primary
#4C2292
secondary
#95BC54
accent
#E543A8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80