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