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