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