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