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