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