#331AA5
Purple
HEX
RGB
HSL
About #331AA5 Purple
#331AA5 is a purple color. In the RGB color model, it is composed of 51 red, 26 green, and 165 blue. In the HSL color space, it has a hue of 251°, saturation of 73%, and lightness of 37%.
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 & Gradients
Use #331AA5 in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
251°
Hue
73%
Saturation
37%
Lightness
Purple
Color Harmonies
Colors that work well with #331AA5 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #331AA5 against white and black backgrounds.
Aa#331AA5 on White
Contrast Ratio11.46:1
AA ✓AA Large ✓AAA ✓
Aa#331AA5 on Black
Contrast Ratio1.83:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #331AA5 across different color formats.
| Format | Value |
|---|---|
| HEX | #331AA5 |
| RGB | rgb(51, 26, 165) |
| HSL | hsl(251, 73%, 37%) |
| RGB Decimal | 51, 26, 165 |
| RGB Percent | 20.0%, 10.2%, 64.7% |
| CMYK (approx.) | 69%, 84%, 0%, 35% |
Related Palettes
12 palettes using #331AA5 or similar colors