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