#4C219F#4C219F
#4C219F is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.4% C 0.186 H 290.7°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).
Color values
| HEX | #4C219F |
|---|---|
| RGB | rgb(76, 33, 159) |
| HSL | hsl(260, 66%, 38%) |
| HSV | hsv(260, 79%, 62%) |
| CMYK | cmyk(52.2%, 79.2%, 0%, 37.6%) |
| CIE-LAB | lab(27.09, 48.56, -60.41) |
| CIE-LCH | lch(27.09, 77.50, 308.79°) |
| OKLab | oklab(39.35% 0.0657 -0.1736) |
| OKLCH | oklch(39.35% 0.186 290.7) |
| XYZ | xyz(9.7806, 5.1270, 33.2684) |
| Luminance | 0.0513 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.62
Violet Blue
#510AC9
ΔE00 5.69
Indigo
#4B0082
ΔE00 6.22
Rebeccapurple
#663399
ΔE00 6.27
Ultramarine
#2000B1
ΔE00 6.29
Indigo (survey)
#380282
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C219F #749F21
analogous
#21359F #4C219F #8B219F
triadic
#4C219F #9F4C21 #219F4C
tetradic
#4C219F #9F2135 #749F21 #219F8B
square
#4C219F #9F2135 #749F21 #219F8B
split-complementary
#4C219F #9F8B21 #359F21
monochromatic
#1C0C3A #34166C #4C219F #642CD2 #895DDD
Accessibility & contrast
On white
10.37
#4C219F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#4C219F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C219F
10.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C219F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C219F | 1.00 | 10.37 | 2.03 | 10.37 |
| #FFFFFF | 10.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#003D9D
Tritanopia (blue-blind)
#2E4560
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #4c219f; /* rgb */ color: rgb(76, 33, 159); /* oklch */ color: oklch(39.4% 0.186 290.7);
Tailwind
colors: {
custom: {
50: '#8762bc',
500: '#4c219f',
950: '#000000',
},
}SCSS
$custom: #4c219f; $custom-light: #8762bc; $custom-dark: #000000;
JSON
{
"hex": "#4c219f",
"rgb": {
"r": 76,
"g": 33,
"b": 159
},
"hsl": {
"h": 260.476,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.39354,
"c": 0.1856,
"h": 290.7
},
"luminance": 0.05127
}Semantic roles & 50–950 ramp
primary
#4C219F
secondary
#9EC25A
accent
#E93FAF
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0512
muted
#7D7A81