#4C218F#4C218F
#4C218F is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.168 H 294.8°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).
Color values
| HEX | #4C218F |
|---|---|
| RGB | rgb(76, 33, 143) |
| HSL | hsl(263, 63%, 35%) |
| HSV | hsv(263, 77%, 56%) |
| CMYK | cmyk(46.9%, 76.9%, 0%, 43.9%) |
| CIE-LAB | lab(25.59, 44.18, -53.05) |
| CIE-LCH | lch(25.59, 69.04, 309.79°) |
| OKLab | oklab(37.84% 0.0703 -0.152) |
| OKLCH | oklch(37.84% 0.168 294.8) |
| XYZ | xyz(8.4809, 4.6072, 26.4237) |
| Luminance | 0.0461 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.79
Indigo (survey)
#380282
ΔE00 5.66
Indigo Blue
#3A18B1
ΔE00 5.70
Rebeccapurple
#663399
ΔE00 6.05
Royal Purple (survey)
#4B006E
ΔE00 7.14
Royal
#0C1793
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C218F #648F21
analogous
#212D8F #4C218F #83218F
triadic
#4C218F #8F4C21 #218F4C
tetradic
#4C218F #8F212D #648F21 #218F83
square
#4C218F #8F212D #648F21 #218F83
split-complementary
#4C218F #8F8321 #2D8F21
monochromatic
#170A2C #32165D #4C218F #662CC1 #8753D7
Accessibility & contrast
On white
10.93
#4C218F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#4C218F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C218F
10.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C218F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C218F | 1.00 | 10.93 | 1.92 | 10.93 |
| #FFFFFF | 10.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#003B8D
Tritanopia (blue-blind)
#393F57
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #4c218f; /* rgb */ color: rgb(76, 33, 143); /* oklch */ color: oklch(37.8% 0.168 294.8);
Tailwind
colors: {
custom: {
50: '#8561b1',
500: '#4c218f',
950: '#000000',
},
}SCSS
$custom: #4c218f; $custom-light: #8561b1; $custom-dark: #000000;
JSON
{
"hex": "#4c218f",
"rgb": {
"r": 76,
"g": 33,
"b": 143
},
"hsl": {
"h": 263.455,
"s": 62.5,
"l": 34.51
},
"oklch": {
"l": 0.37839,
"c": 0.16752,
"h": 294.8
},
"luminance": 0.04607
}Semantic roles & 50–950 ramp
primary
#4C218F
secondary
#91BB51
accent
#E642A6
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980