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