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