#2F1A42
Dark Purple
HEX
RGB
HSL
About #2F1A42 Dark Purple
#2F1A42 is a dark purple color. In the RGB color model, it is composed of 47 red, 26 green, and 66 blue. In the HSL color space, it has a hue of 272°, saturation of 43%, and lightness of 18%.
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 & Gradients
Use #2F1A42 in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
272°
Hue
43%
Saturation
18%
Lightness
Dark Purple
Color Harmonies
Colors that work well with #2F1A42 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #2F1A42 against white and black backgrounds.
Aa#2F1A42 on White
Contrast Ratio15.59:1
AA ✓AA Large ✓AAA ✓
Aa#2F1A42 on Black
Contrast Ratio1.35:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #2F1A42 across different color formats.
| Format | Value |
|---|---|
| HEX | #2F1A42 |
| RGB | rgb(47, 26, 66) |
| HSL | hsl(272, 43%, 18%) |
| RGB Decimal | 47, 26, 66 |
| RGB Percent | 18.4%, 10.2%, 25.9% |
| CMYK (approx.) | 29%, 61%, 0%, 74% |
Related Palettes
12 palettes using #2F1A42 or similar colors