#50428E#50428E
#50428E is a dark, vivid violet. Relative luminance 0.076; OKLCH L 43.3% C 0.121 H 288.8°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).
Color values
| HEX | #50428E |
|---|---|
| RGB | rgb(80, 66, 142) |
| HSL | hsl(251, 37%, 41%) |
| HSV | hsv(251, 54%, 56%) |
| CMYK | cmyk(43.7%, 53.5%, 0%, 44.3%) |
| CIE-LAB | lab(33.04, 25.75, -40.34) |
| CIE-LCH | lch(33.04, 47.86, 302.55°) |
| OKLab | oklab(43.32% 0.039 -0.1146) |
| OKLCH | oklch(43.32% 0.121 288.8) |
| XYZ | xyz(10.1376, 7.5545, 26.5100) |
| Luminance | 0.0756 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 1.93
Blueberry
#464196
ΔE00 2.81
Twilight
#4E518B
ΔE00 5.74
Ocean Blue
#4F42B5
ΔE00 6.57
Rebeccapurple
#663399
ΔE00 6.91
Dusk
#4E5481
ΔE00 7.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#50428E #808E42
analogous
#425A8E #50428E #76428E
triadic
#50428E #8E5042 #428E50
tetradic
#50428E #8E425A #808E42 #428E76
square
#50428E #8E425A #808E42 #428E76
split-complementary
#50428E #8E7642 #5A8E42
monochromatic
#211B3A #382F64 #50428E #6B5BB3 #9084C6
Accessibility & contrast
On white
8.36
#50428E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#50428E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #50428E
8.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##50428E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##50428E | 1.00 | 8.36 | 2.51 | 8.36 |
| #FFFFFF | 8.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#204F91
Deuteranopia (green-blind)
#204C8C
Tritanopia (blue-blind)
#3E5261
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #50428e; /* rgb */ color: rgb(80, 66, 142); /* oklch */ color: oklch(43.3% 0.121 288.8);
Tailwind
colors: {
custom: {
50: '#8576af',
500: '#50428e',
950: '#000000',
},
}SCSS
$custom: #50428e; $custom-light: #8576af; $custom-dark: #000000;
JSON
{
"hex": "#50428e",
"rgb": {
"r": 80,
"g": 66,
"b": 142
},
"hsl": {
"h": 251.053,
"s": 36.538,
"l": 40.784
},
"oklch": {
"l": 0.43324,
"c": 0.12104,
"h": 288.8
},
"luminance": 0.07555
}Semantic roles & 50–950 ramp
primary
#50428E
secondary
#A7B17B
accent
#CD5BB8
background
#F8F7FA
surface
#F0EDF5
border
#CBC8CF
text
#0B0810
muted
#7C7B7F