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