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