#5A2B7D
Purple
HEX
RGB
HSL
About #5A2B7D Purple
#5A2B7D is a purple color. In the RGB color model, it is composed of 90 red, 43 green, and 125 blue. In the HSL color space, it has a hue of 274°, saturation of 49%, and lightness of 33%.
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 #5A2B7D in your CSS, SCSS, or Tailwind projects.
Color Properties
274°
Hue
49%
Saturation
33%
Lightness
Purple
Color Harmonies
Colors that work well with #5A2B7D based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #5A2B7D against white and black backgrounds.
Aa#5A2B7D on White
Contrast Ratio10.11:1
AA ✓AA Large ✓AAA ✓
Aa#5A2B7D on Black
Contrast Ratio2.08:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #5A2B7D across different color formats.
| Format | Value |
|---|---|
| HEX | #5A2B7D |
| RGB | rgb(90, 43, 125) |
| HSL | hsl(274, 49%, 33%) |
| RGB Decimal | 90, 43, 125 |
| RGB Percent | 35.3%, 16.9%, 49.0% |
| CMYK (approx.) | 28%, 66%, 0%, 51% |
Related Palettes
12 palettes using #5A2B7D or similar colors