#4D219F#4D219F
#4D219F is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.5% C 0.186 H 291.2°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).
Color values
| HEX | #4D219F |
|---|---|
| RGB | rgb(77, 33, 159) |
| HSL | hsl(261, 66%, 38%) |
| HSV | hsv(261, 79%, 62%) |
| CMYK | cmyk(51.6%, 79.2%, 0%, 37.6%) |
| CIE-LAB | lab(27.21, 48.70, -60.21) |
| CIE-LCH | lch(27.21, 77.44, 308.96°) |
| OKLab | oklab(39.46% 0.0672 -0.173) |
| OKLCH | oklch(39.46% 0.186 291.2) |
| XYZ | xyz(9.8606, 5.1683, 33.2722) |
| Luminance | 0.0517 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.73
Violet Blue
#510AC9
ΔE00 5.68
Rebeccapurple
#663399
ΔE00 6.14
Indigo
#4B0082
ΔE00 6.20
Ultramarine
#2000B1
ΔE00 6.41
Indigo (survey)
#380282
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D219F #739F21
analogous
#21349F #4D219F #8C219F
triadic
#4D219F #9F4D21 #219F4D
tetradic
#4D219F #9F2134 #739F21 #219F8C
square
#4D219F #9F2134 #739F21 #219F8C
split-complementary
#4D219F #9F8C21 #349F21
monochromatic
#1C0C3A #34166C #4D219F #662CD2 #8A5DDD
Accessibility & contrast
On white
10.33
#4D219F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#4D219F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D219F
10.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D219F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D219F | 1.00 | 10.33 | 2.03 | 10.33 |
| #FFFFFF | 10.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#003E9D
Tritanopia (blue-blind)
#304560
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #4d219f; /* rgb */ color: rgb(77, 33, 159); /* oklch */ color: oklch(39.5% 0.186 291.2);
Tailwind
colors: {
custom: {
50: '#8862bc',
500: '#4d219f',
950: '#000000',
},
}SCSS
$custom: #4d219f; $custom-light: #8862bc; $custom-dark: #000000;
JSON
{
"hex": "#4d219f",
"rgb": {
"r": 77,
"g": 33,
"b": 159
},
"hsl": {
"h": 260.952,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.39461,
"c": 0.1856,
"h": 291.2
},
"luminance": 0.05169
}Semantic roles & 50–950 ramp
primary
#4D219F
secondary
#9EC25A
accent
#E93FAD
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0512
muted
#7D7A81