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