#4C219C#4C219C
#4C219C is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.1% C 0.182 H 291.4°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).
Color values
| HEX | #4C219C |
|---|---|
| RGB | rgb(76, 33, 156) |
| HSL | hsl(261, 65%, 37%) |
| HSV | hsv(261, 79%, 61%) |
| CMYK | cmyk(51.3%, 78.8%, 0%, 38.8%) |
| CIE-LAB | lab(26.80, 47.73, -59.05) |
| CIE-LCH | lch(26.80, 75.93, 308.95°) |
| OKLab | oklab(39.06% 0.0666 -0.1696) |
| OKLCH | oklch(39.06% 0.182 291.4) |
| XYZ | xyz(9.5234, 5.0241, 31.9140) |
| Luminance | 0.0503 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.95
Indigo
#4B0082
ΔE00 5.91
Violet Blue
#510AC9
ΔE00 6.10
Rebeccapurple
#663399
ΔE00 6.17
Indigo (survey)
#380282
ΔE00 6.43
Ultramarine
#2000B1
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C219C #719C21
analogous
#21339C #4C219C #8A219C
triadic
#4C219C #9C4C21 #219C4C
tetradic
#4C219C #9C2133 #719C21 #219C8A
square
#4C219C #9C2133 #719C21 #219C8A
split-complementary
#4C219C #9C8A21 #339C21
monochromatic
#1B0C37 #331669 #4C219C #652CCF #885BDC
Accessibility & contrast
On white
10.47
#4C219C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#4C219C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C219C
10.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C219C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C219C | 1.00 | 10.47 | 2.01 | 10.47 |
| #FFFFFF | 10.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00419F
Deuteranopia (green-blind)
#003D9A
Tritanopia (blue-blind)
#31445E
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #4c219c; /* rgb */ color: rgb(76, 33, 156); /* oklch */ color: oklch(39.1% 0.182 291.4);
Tailwind
colors: {
custom: {
50: '#8762ba',
500: '#4c219c',
950: '#000000',
},
}SCSS
$custom: #4c219c; $custom-light: #8762ba; $custom-dark: #000000;
JSON
{
"hex": "#4c219c",
"rgb": {
"r": 76,
"g": 33,
"b": 156
},
"hsl": {
"h": 260.976,
"s": 65.079,
"l": 37.059
},
"oklch": {
"l": 0.39064,
"c": 0.18223,
"h": 291.4
},
"luminance": 0.05025
}Semantic roles & 50–950 ramp
primary
#4C219C
secondary
#9CC158
accent
#E840AD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81