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