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