#5021A1
Purple
HEX
RGB
HSL
About #5021A1 Purple
#5021A1 is a purple color. In the RGB color model, it is composed of 80 red, 33 green, and 161 blue. In the HSL color space, it has a hue of 262°, saturation of 66%, and lightness of 38%.
This color has a low lightness value, making it a dark color great for text and bold accents. With moderate saturation, it appears balanced and versatile.
CSS Code
Use #5021A1 in your CSS, SCSS, or Tailwind projects.
Color Properties
262°
Hue
66%
Saturation
38%
Lightness
Purple
Color Harmonies
Colors that work well with #5021A1 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #5021A1 against white and black backgrounds.
Aa#5021A1 on White
Contrast Ratio10.13:1
AA ✓AA Large ✓AAA ✓
Aa#5021A1 on Black
Contrast Ratio2.07:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #5021A1 across different color formats.
| Format | Value |
|---|---|
| HEX | #5021A1 |
| RGB | rgb(80, 33, 161) |
| HSL | hsl(262, 66%, 38%) |
| RGB Decimal | 80, 33, 161 |
| RGB Percent | 31.4%, 12.9%, 63.1% |
| CMYK (approx.) | 50%, 80%, 0%, 37% |
Related Palettes
12 palettes using #5021A1 or similar colors