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