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