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