#5A267E
Purple
HEX
RGB
HSL
About #5A267E Purple
#5A267E is a purple color. In the RGB color model, it is composed of 90 red, 38 green, and 126 blue. In the HSL color space, it has a hue of 275°, saturation of 54%, and lightness of 32%.
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 & Gradients
Use #5A267E in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
275°
Hue
54%
Saturation
32%
Lightness
Purple
Color Harmonies
Colors that work well with #5A267E based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #5A267E against white and black backgrounds.
Aa#5A267E on White
Contrast Ratio10.43:1
AA ✓AA Large ✓AAA ✓
Aa#5A267E on Black
Contrast Ratio2.01:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #5A267E across different color formats.
| Format | Value |
|---|---|
| HEX | #5A267E |
| RGB | rgb(90, 38, 126) |
| HSL | hsl(275, 54%, 32%) |
| RGB Decimal | 90, 38, 126 |
| RGB Percent | 35.3%, 14.9%, 49.4% |
| CMYK (approx.) | 29%, 70%, 0%, 51% |
Related Palettes
12 palettes using #5A267E or similar colors