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