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