#271B50
Dark Purple
HEX
RGB
HSL
About #271B50 Dark Purple
#271B50 is a dark purple color. In the RGB color model, it is composed of 39 red, 27 green, and 80 blue. In the HSL color space, it has a hue of 254°, saturation of 50%, 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
Use #271B50 in your CSS, SCSS, or Tailwind projects.
Color Properties
254°
Hue
50%
Saturation
21%
Lightness
Dark Purple
Color Harmonies
Colors that work well with #271B50 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #271B50 against white and black backgrounds.
Aa#271B50 on White
Contrast Ratio15.45:1
AA ✓AA Large ✓AAA ✓
Aa#271B50 on Black
Contrast Ratio1.36:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #271B50 across different color formats.
| Format | Value |
|---|---|
| HEX | #271B50 |
| RGB | rgb(39, 27, 80) |
| HSL | hsl(254, 50%, 21%) |
| RGB Decimal | 39, 27, 80 |
| RGB Percent | 15.3%, 10.6%, 31.4% |
| CMYK (approx.) | 51%, 66%, 0%, 69% |
Related Palettes
12 palettes using #271B50 or similar colors