#331D8C
Purple
HEX
RGB
HSL
About #331D8C Purple
#331D8C is a purple color. In the RGB color model, it is composed of 51 red, 29 green, and 140 blue. In the HSL color space, it has a hue of 252°, saturation of 66%, and lightness of 33%.
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 #331D8C in your CSS, SCSS, or Tailwind projects.
Color Properties
252°
Hue
66%
Saturation
33%
Lightness
Purple
Color Harmonies
Colors that work well with #331D8C based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #331D8C against white and black backgrounds.
Aa#331D8C on White
Contrast Ratio12.39:1
AA ✓AA Large ✓AAA ✓
Aa#331D8C on Black
Contrast Ratio1.7:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #331D8C across different color formats.
| Format | Value |
|---|---|
| HEX | #331D8C |
| RGB | rgb(51, 29, 140) |
| HSL | hsl(252, 66%, 33%) |
| RGB Decimal | 51, 29, 140 |
| RGB Percent | 20.0%, 11.4%, 54.9% |
| CMYK (approx.) | 64%, 79%, 0%, 45% |
Related Palettes
12 palettes using #331D8C or similar colors