#331F38
Dark Purple
HEX
RGB
HSL
About #331F38 Dark Purple
#331F38 is a dark purple color. In the RGB color model, it is composed of 51 red, 31 green, and 56 blue. In the HSL color space, it has a hue of 288°, saturation of 29%, 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 #331F38 in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
288°
Hue
29%
Saturation
17%
Lightness
Dark Purple
Color Harmonies
Colors that work well with #331F38 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #331F38 against white and black backgrounds.
Aa#331F38 on White
Contrast Ratio15.07:1
AA ✓AA Large ✓AAA ✓
Aa#331F38 on Black
Contrast Ratio1.39:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #331F38 across different color formats.
| Format | Value |
|---|---|
| HEX | #331F38 |
| RGB | rgb(51, 31, 56) |
| HSL | hsl(288, 29%, 17%) |
| RGB Decimal | 51, 31, 56 |
| RGB Percent | 20.0%, 12.2%, 22.0% |
| CMYK (approx.) | 9%, 45%, 0%, 78% |
Related Palettes
12 palettes using #331F38 or similar colors