#1F1727
Dark Purple
HEX
RGB
HSL
About #1F1727 Dark Purple
#1F1727 is a dark purple color. In the RGB color model, it is composed of 31 red, 23 green, and 39 blue. In the HSL color space, it has a hue of 270°, saturation of 26%, and lightness of 12%.
This color has a low lightness value, making it a dark color great for text and bold accents. With low saturation, it appears muted and subtle.
CSS Code
Use #1F1727 in your CSS, SCSS, or Tailwind projects.
Color Properties
270°
Hue
26%
Saturation
12%
Lightness
Dark Purple
Color Harmonies
Colors that work well with #1F1727 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #1F1727 against white and black backgrounds.
Aa#1F1727 on White
Contrast Ratio17.35:1
AA ✓AA Large ✓AAA ✓
Aa#1F1727 on Black
Contrast Ratio1.21:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #1F1727 across different color formats.
| Format | Value |
|---|---|
| HEX | #1F1727 |
| RGB | rgb(31, 23, 39) |
| HSL | hsl(270, 26%, 12%) |
| RGB Decimal | 31, 23, 39 |
| RGB Percent | 12.2%, 9.0%, 15.3% |
| CMYK (approx.) | 21%, 41%, 0%, 85% |
Related Palettes
12 palettes using #1F1727 or similar colors