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