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