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