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