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