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