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