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