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