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