#1F0B28
Dark Purple
HEX
RGB
HSL
About #1F0B28 Dark Purple
#1F0B28 is a dark purple color. In the RGB color model, it is composed of 31 red, 11 green, and 40 blue. In the HSL color space, it has a hue of 281°, saturation of 57%, and lightness of 10%.
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 #1F0B28 in your CSS, SCSS, or Tailwind projects.
Color Properties
281°
Hue
57%
Saturation
10%
Lightness
Dark Purple
Color Harmonies
Colors that work well with #1F0B28 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #1F0B28 against white and black backgrounds.
Aa#1F0B28 on White
Contrast Ratio18.47:1
AA ✓AA Large ✓AAA ✓
Aa#1F0B28 on Black
Contrast Ratio1.14:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #1F0B28 across different color formats.
| Format | Value |
|---|---|
| HEX | #1F0B28 |
| RGB | rgb(31, 11, 40) |
| HSL | hsl(281, 57%, 10%) |
| RGB Decimal | 31, 11, 40 |
| RGB Percent | 12.2%, 4.3%, 15.7% |
| CMYK (approx.) | 22%, 73%, 0%, 84% |
Related Palettes
12 palettes using #1F0B28 or similar colors