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