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