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