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