#5F188B
Purple
HEX
RGB
HSL
About #5F188B Purple
#5F188B is a purple color. In the RGB color model, it is composed of 95 red, 24 green, and 139 blue. In the HSL color space, it has a hue of 277°, saturation of 71%, and lightness of 32%.
This color has a low lightness value, making it a dark color great for text and bold accents. With high saturation, it appears vibrant and eye-catching.
CSS Code
Use #5F188B in your CSS, SCSS, or Tailwind projects.
Color Properties
277°
Hue
71%
Saturation
32%
Lightness
Purple
Color Harmonies
Colors that work well with #5F188B based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #5F188B against white and black backgrounds.
Aa#5F188B on White
Contrast Ratio10.55:1
AA ✓AA Large ✓AAA ✓
Aa#5F188B on Black
Contrast Ratio1.99:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #5F188B across different color formats.
| Format | Value |
|---|---|
| HEX | #5F188B |
| RGB | rgb(95, 24, 139) |
| HSL | hsl(277, 71%, 32%) |
| RGB Decimal | 95, 24, 139 |
| RGB Percent | 37.3%, 9.4%, 54.5% |
| CMYK (approx.) | 32%, 83%, 0%, 45% |
Related Palettes
12 palettes using #5F188B or similar colors