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