#31284D
Dark Purple
HEX
RGB
HSL
About #31284D Dark Purple
#31284D is a dark purple color. In the RGB color model, it is composed of 49 red, 40 green, and 77 blue. In the HSL color space, it has a hue of 255°, saturation of 32%, and lightness of 23%.
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 & Gradients
Use #31284D in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
255°
Hue
32%
Saturation
23%
Lightness
Dark Purple
Color Harmonies
Colors that work well with #31284D based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #31284D against white and black backgrounds.
Aa#31284D on White
Contrast Ratio13.63:1
AA ✓AA Large ✓AAA ✓
Aa#31284D on Black
Contrast Ratio1.54:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #31284D across different color formats.
| Format | Value |
|---|---|
| HEX | #31284D |
| RGB | rgb(49, 40, 77) |
| HSL | hsl(255, 32%, 23%) |
| RGB Decimal | 49, 40, 77 |
| RGB Percent | 19.2%, 15.7%, 30.2% |
| CMYK (approx.) | 36%, 48%, 0%, 70% |
Related Palettes
12 palettes using #31284D or similar colors