#31159D
Purple
HEX
RGB
HSL
About #31159D Purple
#31159D is a purple color. In the RGB color model, it is composed of 49 red, 21 green, and 157 blue. In the HSL color space, it has a hue of 252°, saturation of 76%, and lightness of 35%.
This color has a low lightness value, making it a dark color great for text and bold accents. With high saturation, it appears vibrant and eye-catching.
CSS Code
Use #31159D in your CSS, SCSS, or Tailwind projects.
Color Properties
252°
Hue
76%
Saturation
35%
Lightness
Purple
Color Harmonies
Colors that work well with #31159D based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #31159D against white and black backgrounds.
Aa#31159D on White
Contrast Ratio12.18:1
AA ✓AA Large ✓AAA ✓
Aa#31159D on Black
Contrast Ratio1.72:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #31159D across different color formats.
| Format | Value |
|---|---|
| HEX | #31159D |
| RGB | rgb(49, 21, 157) |
| HSL | hsl(252, 76%, 35%) |
| RGB Decimal | 49, 21, 157 |
| RGB Percent | 19.2%, 8.2%, 61.6% |
| CMYK (approx.) | 69%, 87%, 0%, 38% |
Related Palettes
12 palettes using #31159D or similar colors