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