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