#331E62
Purple
HEX
RGB
HSL
About #331E62 Purple
#331E62 is a purple color. In the RGB color model, it is composed of 51 red, 30 green, and 98 blue. In the HSL color space, it has a hue of 259°, saturation of 53%, and lightness of 25%.
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 #331E62 in your CSS, SCSS, or Tailwind projects.
Color Properties
259°
Hue
53%
Saturation
25%
Lightness
Purple
Color Harmonies
Colors that work well with #331E62 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #331E62 against white and black backgrounds.
Aa#331E62 on White
Contrast Ratio13.97:1
AA ✓AA Large ✓AAA ✓
Aa#331E62 on Black
Contrast Ratio1.5:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #331E62 across different color formats.
| Format | Value |
|---|---|
| HEX | #331E62 |
| RGB | rgb(51, 30, 98) |
| HSL | hsl(259, 53%, 25%) |
| RGB Decimal | 51, 30, 98 |
| RGB Percent | 20.0%, 11.8%, 38.4% |
| CMYK (approx.) | 48%, 69%, 0%, 62% |
Related Palettes
12 palettes using #331E62 or similar colors