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