#4C2295#4C2295
#4C2295 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.5% C 0.173 H 293.0°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).
Color values
| HEX | #4C2295 |
|---|---|
| RGB | rgb(76, 34, 149) |
| HSL | hsl(262, 63%, 36%) |
| HSV | hsv(262, 77%, 58%) |
| CMYK | cmyk(49%, 77.2%, 0%, 41.6%) |
| CIE-LAB | lab(26.30, 45.35, -55.58) |
| CIE-LCH | lch(26.30, 71.73, 309.21°) |
| OKLab | oklab(38.51% 0.0678 -0.1595) |
| OKLCH | oklch(38.51% 0.173 293) |
| XYZ | xyz(8.9758, 4.8502, 28.8912) |
| Luminance | 0.0485 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.90
Indigo
#4B0082
ΔE00 5.41
Rebeccapurple
#663399
ΔE00 5.94
Indigo (survey)
#380282
ΔE00 6.08
Royal
#0C1793
ΔE00 7.12
Violet Blue
#510AC9
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C2295 #6B9522
analogous
#223195 #4C2295 #852295
triadic
#4C2295 #954C22 #22954C
tetradic
#4C2295 #952231 #6B9522 #229585
square
#4C2295 #952231 #6B9522 #229585
split-complementary
#4C2295 #958522 #319522
monochromatic
#190B31 #331763 #4C2295 #652DC7 #8758D9
Accessibility & contrast
On white
10.66
#4C2295 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#4C2295 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C2295
10.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C2295 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C2295 | 1.00 | 10.66 | 1.97 | 10.66 |
| #FFFFFF | 10.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004098
Deuteranopia (green-blind)
#003C93
Tritanopia (blue-blind)
#35415A
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #4c2295; /* rgb */ color: rgb(76, 34, 149); /* oklch */ color: oklch(38.5% 0.173 293.0);
Tailwind
colors: {
custom: {
50: '#8662b5',
500: '#4c2295',
950: '#000000',
},
}SCSS
$custom: #4c2295; $custom-light: #8662b5; $custom-dark: #000000;
JSON
{
"hex": "#4c2295",
"rgb": {
"r": 76,
"g": 34,
"b": 149
},
"hsl": {
"h": 261.913,
"s": 62.842,
"l": 35.882
},
"oklch": {
"l": 0.38513,
"c": 0.17329,
"h": 293
},
"luminance": 0.0485
}Semantic roles & 50–950 ramp
primary
#4C2295
secondary
#97BD56
accent
#E642AA
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80