#4C2194#4C2194
#4C2194 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.3% C 0.173 H 293.4°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).
Color values
| HEX | #4C2194 |
|---|---|
| RGB | rgb(76, 33, 148) |
| HSL | hsl(262, 64%, 35%) |
| HSV | hsv(262, 78%, 58%) |
| CMYK | cmyk(48.6%, 77.7%, 0%, 42%) |
| CIE-LAB | lab(26.05, 45.55, -55.39) |
| CIE-LCH | lch(26.05, 71.71, 309.43°) |
| OKLab | oklab(38.3% 0.0689 -0.1589) |
| OKLCH | oklch(38.3% 0.173 293.4) |
| XYZ | xyz(8.8682, 4.7620, 28.4631) |
| Luminance | 0.0476 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.98
Indigo
#4B0082
ΔE00 5.16
Indigo (survey)
#380282
ΔE00 5.88
Rebeccapurple
#663399
ΔE00 6.04
Royal
#0C1793
ΔE00 7.10
Ultramarine
#2000B1
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C2194 #699421
analogous
#212F94 #4C2194 #852194
triadic
#4C2194 #944C21 #21944C
tetradic
#4C2194 #94212F #699421 #219485
square
#4C2194 #94212F #699421 #219485
split-complementary
#4C2194 #948521 #2F9421
monochromatic
#190B30 #321662 #4C2194 #662CC6 #8756D9
Accessibility & contrast
On white
10.76
#4C2194 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#4C2194 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C2194
10.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C2194 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C2194 | 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)
#003F97
Deuteranopia (green-blind)
#003C92
Tritanopia (blue-blind)
#364159
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #4c2194; /* rgb */ color: rgb(76, 33, 148); /* oklch */ color: oklch(38.3% 0.173 293.4);
Tailwind
colors: {
custom: {
50: '#8661b4',
500: '#4c2194',
950: '#000000',
},
}SCSS
$custom: #4c2194; $custom-light: #8661b4; $custom-dark: #000000;
JSON
{
"hex": "#4c2194",
"rgb": {
"r": 76,
"g": 33,
"b": 148
},
"hsl": {
"h": 262.435,
"s": 63.536,
"l": 35.49
},
"oklch": {
"l": 0.38304,
"c": 0.1732,
"h": 293.4
},
"luminance": 0.04762
}Semantic roles & 50–950 ramp
primary
#4C2194
secondary
#96BD54
accent
#E741A9
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980