#331C51
Dark Purple
HEX
RGB
HSL
About #331C51 Dark Purple
#331C51 is a dark purple color. In the RGB color model, it is composed of 51 red, 28 green, and 81 blue. In the HSL color space, it has a hue of 266°, saturation of 49%, and lightness of 21%.
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 & Gradients
Use #331C51 in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
266°
Hue
49%
Saturation
21%
Lightness
Dark Purple
Color Harmonies
Colors that work well with #331C51 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #331C51 against white and black backgrounds.
Aa#331C51 on White
Contrast Ratio14.73:1
AA ✓AA Large ✓AAA ✓
Aa#331C51 on Black
Contrast Ratio1.43:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #331C51 across different color formats.
| Format | Value |
|---|---|
| HEX | #331C51 |
| RGB | rgb(51, 28, 81) |
| HSL | hsl(266, 49%, 21%) |
| RGB Decimal | 51, 28, 81 |
| RGB Percent | 20.0%, 11.0%, 31.8% |
| CMYK (approx.) | 37%, 65%, 0%, 68% |
Related Palettes
12 palettes using #331C51 or similar colors