#5A126E
Purple
HEX
RGB
HSL
About #5A126E Purple
#5A126E is a purple color. In the RGB color model, it is composed of 90 red, 18 green, and 110 blue. In the HSL color space, it has a hue of 287°, saturation of 72%, and lightness of 25%.
This color has a low lightness value, making it a dark color great for text and bold accents. With high saturation, it appears vibrant and eye-catching.
CSS Code
Use #5A126E in your CSS, SCSS, or Tailwind projects.
Color Properties
287°
Hue
72%
Saturation
25%
Lightness
Purple
Color Harmonies
Colors that work well with #5A126E based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #5A126E against white and black backgrounds.
Aa#5A126E on White
Contrast Ratio12.02:1
AA ✓AA Large ✓AAA ✓
Aa#5A126E on Black
Contrast Ratio1.75:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #5A126E across different color formats.
| Format | Value |
|---|---|
| HEX | #5A126E |
| RGB | rgb(90, 18, 110) |
| HSL | hsl(287, 72%, 25%) |
| RGB Decimal | 90, 18, 110 |
| RGB Percent | 35.3%, 7.1%, 43.1% |
| CMYK (approx.) | 18%, 84%, 0%, 57% |
Related Palettes
12 palettes using #5A126E or similar colors