#4C2293#4C2293
#4C2293 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.3% C 0.171 H 293.6°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).
Color values
| HEX | #4C2293 |
|---|---|
| RGB | rgb(76, 34, 147) |
| HSL | hsl(262, 62%, 35%) |
| HSV | hsv(262, 77%, 58%) |
| CMYK | cmyk(48.3%, 76.9%, 0%, 42.4%) |
| CIE-LAB | lab(26.12, 44.80, -54.65) |
| CIE-LCH | lch(26.12, 70.67, 309.34°) |
| OKLab | oklab(38.33% 0.0683 -0.1567) |
| OKLCH | oklch(38.33% 0.171 293.6) |
| XYZ | xyz(8.8175, 4.7869, 28.0575) |
| Luminance | 0.0479 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 5.17
Indigo
#4B0082
ΔE00 5.25
Rebeccapurple
#663399
ΔE00 5.93
Indigo (survey)
#380282
ΔE00 5.98
Royal
#0C1793
ΔE00 7.18
Ultramarine
#2000B1
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C2293 #699322
analogous
#223093 #4C2293 #842293
triadic
#4C2293 #934C22 #22934C
tetradic
#4C2293 #932230 #699322 #229384
square
#4C2293 #932230 #699322 #229384
split-complementary
#4C2293 #938422 #309322
monochromatic
#190B30 #321761 #4C2293 #662DC5 #8757D8
Accessibility & contrast
On white
10.73
#4C2293 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#4C2293 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C2293
10.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C2293 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C2293 | 1.00 | 10.73 | 1.96 | 10.73 |
| #FFFFFF | 10.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F96
Deuteranopia (green-blind)
#003C91
Tritanopia (blue-blind)
#364159
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #4c2293; /* rgb */ color: rgb(76, 34, 147); /* oklch */ color: oklch(38.3% 0.171 293.6);
Tailwind
colors: {
custom: {
50: '#8662b4',
500: '#4c2293',
950: '#000000',
},
}SCSS
$custom: #4c2293; $custom-light: #8662b4; $custom-dark: #000000;
JSON
{
"hex": "#4c2293",
"rgb": {
"r": 76,
"g": 34,
"b": 147
},
"hsl": {
"h": 262.301,
"s": 62.431,
"l": 35.49
},
"oklch": {
"l": 0.38326,
"c": 0.171,
"h": 293.6
},
"luminance": 0.04787
}Semantic roles & 50–950 ramp
primary
#4C2293
secondary
#96BC55
accent
#E542A9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80