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