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