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