#50219F#50219F
#50219F is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.8% C 0.186 H 292.8°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).
Color values
| HEX | #50219F |
|---|---|
| RGB | rgb(80, 33, 159) |
| HSL | hsl(262, 66%, 38%) |
| HSV | hsv(262, 79%, 62%) |
| CMYK | cmyk(49.7%, 79.2%, 0%, 37.6%) |
| CIE-LAB | lab(27.56, 49.13, -59.62) |
| CIE-LCH | lch(27.56, 77.25, 309.49°) |
| OKLab | oklab(39.79% 0.0719 -0.1712) |
| OKLCH | oklch(39.79% 0.186 292.8) |
| XYZ | xyz(10.1084, 5.2960, 33.2838) |
| Luminance | 0.0530 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.07
Violet Blue
#510AC9
ΔE00 5.68
Rebeccapurple
#663399
ΔE00 5.76
Indigo
#4B0082
ΔE00 6.18
Ultramarine
#2000B1
ΔE00 6.76
Purple Blue
#5D21D0
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#50219F #709F21
analogous
#21319F #50219F #8F219F
triadic
#50219F #9F5021 #219F50
tetradic
#50219F #9F2131 #709F21 #219F8F
square
#50219F #9F2131 #709F21 #219F8F
split-complementary
#50219F #9F8F21 #319F21
monochromatic
#1D0C3A #36166C #50219F #6A2CD2 #8D5DDD
Accessibility & contrast
On white
10.20
#50219F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#50219F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #50219F
10.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##50219F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##50219F | 1.00 | 10.20 | 2.06 | 10.20 |
| #FFFFFF | 10.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#003F9D
Tritanopia (blue-blind)
#374560
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #50219f; /* rgb */ color: rgb(80, 33, 159); /* oklch */ color: oklch(39.8% 0.186 292.8);
Tailwind
colors: {
custom: {
50: '#8a62bc',
500: '#50219f',
950: '#000000',
},
}SCSS
$custom: #50219f; $custom-light: #8a62bc; $custom-dark: #000000;
JSON
{
"hex": "#50219f",
"rgb": {
"r": 80,
"g": 33,
"b": 159
},
"hsl": {
"h": 262.381,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.39788,
"c": 0.18565,
"h": 292.8
},
"luminance": 0.05296
}Semantic roles & 50–950 ramp
primary
#50219F
secondary
#9BC25A
accent
#E93FA9
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0D0512
muted
#7D7A81