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