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