#331E38
Dark Purple
HEX
RGB
HSL
About #331E38 Dark Purple
#331E38 is a dark purple color. In the RGB color model, it is composed of 51 red, 30 green, and 56 blue. In the HSL color space, it has a hue of 288°, saturation of 30%, and lightness of 17%.
This color has a low lightness value, making it a dark color great for text and bold accents. With low saturation, it appears muted and subtle.
CSS Code & Gradients
Use #331E38 in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
288°
Hue
30%
Saturation
17%
Lightness
Dark Purple
Color Harmonies
Colors that work well with #331E38 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #331E38 against white and black backgrounds.
Aa#331E38 on White
Contrast Ratio15.18:1
AA ✓AA Large ✓AAA ✓
Aa#331E38 on Black
Contrast Ratio1.38:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #331E38 across different color formats.
| Format | Value |
|---|---|
| HEX | #331E38 |
| RGB | rgb(51, 30, 56) |
| HSL | hsl(288, 30%, 17%) |
| RGB Decimal | 51, 30, 56 |
| RGB Percent | 20.0%, 11.8%, 22.0% |
| CMYK (approx.) | 9%, 46%, 0%, 78% |
Related Palettes
12 palettes using #331E38 or similar colors