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