#31255F
Purple
HEX
RGB
HSL
About #31255F Purple
#31255F is a purple color. In the RGB color model, it is composed of 49 red, 37 green, and 95 blue. In the HSL color space, it has a hue of 252°, saturation of 44%, and lightness of 26%.
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 #31255F in your CSS, SCSS, or Tailwind projects.
Color Properties
252°
Hue
44%
Saturation
26%
Lightness
Purple
Color Harmonies
Colors that work well with #31255F based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #31255F against white and black backgrounds.
Aa#31255F on White
Contrast Ratio13.46:1
AA ✓AA Large ✓AAA ✓
Aa#31255F on Black
Contrast Ratio1.56:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #31255F across different color formats.
| Format | Value |
|---|---|
| HEX | #31255F |
| RGB | rgb(49, 37, 95) |
| HSL | hsl(252, 44%, 26%) |
| RGB Decimal | 49, 37, 95 |
| RGB Percent | 19.2%, 14.5%, 37.3% |
| CMYK (approx.) | 48%, 61%, 0%, 63% |
Related Palettes
12 palettes using #31255F or similar colors