#311938
Dark Purple
HEX
RGB
HSL
About #311938 Dark Purple
#311938 is a dark purple color. In the RGB color model, it is composed of 49 red, 25 green, and 56 blue. In the HSL color space, it has a hue of 286°, saturation of 38%, and lightness of 16%.
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 #311938 in your CSS, SCSS, or Tailwind projects.
Color Properties
286°
Hue
38%
Saturation
16%
Lightness
Dark Purple
Color Harmonies
Colors that work well with #311938 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #311938 against white and black backgrounds.
Aa#311938 on White
Contrast Ratio15.83:1
AA ✓AA Large ✓AAA ✓
Aa#311938 on Black
Contrast Ratio1.33:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #311938 across different color formats.
| Format | Value |
|---|---|
| HEX | #311938 |
| RGB | rgb(49, 25, 56) |
| HSL | hsl(286, 38%, 16%) |
| RGB Decimal | 49, 25, 56 |
| RGB Percent | 19.2%, 9.8%, 22.0% |
| CMYK (approx.) | 12%, 55%, 0%, 78% |
Related Palettes
12 palettes using #311938 or similar colors