#3A1F5C
Dark Purple
HEX
RGB
HSL
About #3A1F5C Dark Purple
#3A1F5C is a dark purple color. In the RGB color model, it is composed of 58 red, 31 green, and 92 blue. In the HSL color space, it has a hue of 267°, saturation of 50%, and lightness of 24%.
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 #3A1F5C in your CSS, SCSS, or Tailwind projects.
Color Properties
267°
Hue
50%
Saturation
24%
Lightness
Dark Purple
Color Harmonies
Colors that work well with #3A1F5C based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #3A1F5C against white and black backgrounds.
Aa#3A1F5C on White
Contrast Ratio13.72:1
AA ✓AA Large ✓AAA ✓
Aa#3A1F5C on Black
Contrast Ratio1.53:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #3A1F5C across different color formats.
| Format | Value |
|---|---|
| HEX | #3A1F5C |
| RGB | rgb(58, 31, 92) |
| HSL | hsl(267, 50%, 24%) |
| RGB Decimal | 58, 31, 92 |
| RGB Percent | 22.7%, 12.2%, 36.1% |
| CMYK (approx.) | 37%, 66%, 0%, 64% |
Related Palettes
12 palettes using #3A1F5C or similar colors