#5121AB
Purple
HEX
RGB
HSL
About #5121AB Purple
#5121AB is a purple color. In the RGB color model, it is composed of 81 red, 33 green, and 171 blue. In the HSL color space, it has a hue of 261°, saturation of 68%, and lightness of 40%.
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 #5121AB in your CSS, SCSS, or Tailwind projects.
Color Properties
261°
Hue
68%
Saturation
40%
Lightness
Purple
Color Harmonies
Colors that work well with #5121AB based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #5121AB against white and black backgrounds.
Aa#5121AB on White
Contrast Ratio9.74:1
AA ✓AA Large ✓AAA ✓
Aa#5121AB on Black
Contrast Ratio2.16:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #5121AB across different color formats.
| Format | Value |
|---|---|
| HEX | #5121AB |
| RGB | rgb(81, 33, 171) |
| HSL | hsl(261, 68%, 40%) |
| RGB Decimal | 81, 33, 171 |
| RGB Percent | 31.8%, 12.9%, 67.1% |
| CMYK (approx.) | 53%, 81%, 0%, 33% |
Related Palettes
12 palettes using #5121AB or similar colors