#5A35D4
Purple
HEX
RGB
HSL
About #5A35D4 Purple
#5A35D4 is a purple color. In the RGB color model, it is composed of 90 red, 53 green, and 212 blue. In the HSL color space, it has a hue of 254°, saturation of 65%, and lightness of 52%.
This color has a medium lightness value, making it a balanced tone ideal for both text and UI elements. With moderate saturation, it appears balanced and versatile.
CSS Code
Use #5A35D4 in your CSS, SCSS, or Tailwind projects.
Color Properties
254°
Hue
65%
Saturation
52%
Lightness
Purple
Color Harmonies
Colors that work well with #5A35D4 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #5A35D4 against white and black backgrounds.
Aa#5A35D4 on White
Contrast Ratio7.25:1
AA ✓AA Large ✓AAA ✓
Aa#5A35D4 on Black
Contrast Ratio2.89:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #5A35D4 across different color formats.
| Format | Value |
|---|---|
| HEX | #5A35D4 |
| RGB | rgb(90, 53, 212) |
| HSL | hsl(254, 65%, 52%) |
| RGB Decimal | 90, 53, 212 |
| RGB Percent | 35.3%, 20.8%, 83.1% |
| CMYK (approx.) | 58%, 75%, 0%, 17% |
Related Palettes
12 palettes using #5A35D4 or similar colors