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