#1F072C
Dark Purple
HEX
RGB
HSL
About #1F072C Dark Purple
#1F072C is a dark purple color. In the RGB color model, it is composed of 31 red, 7 green, and 44 blue. In the HSL color space, it has a hue of 279°, saturation of 73%, and lightness of 10%.
This color has a low lightness value, making it a dark color great for text and bold accents. With high saturation, it appears vibrant and eye-catching.
CSS Code
Use #1F072C in your CSS, SCSS, or Tailwind projects.
Color Properties
279°
Hue
73%
Saturation
10%
Lightness
Dark Purple
Color Harmonies
Colors that work well with #1F072C based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #1F072C against white and black backgrounds.
Aa#1F072C on White
Contrast Ratio18.67:1
AA ✓AA Large ✓AAA ✓
Aa#1F072C on Black
Contrast Ratio1.13:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #1F072C across different color formats.
| Format | Value |
|---|---|
| HEX | #1F072C |
| RGB | rgb(31, 7, 44) |
| HSL | hsl(279, 73%, 10%) |
| RGB Decimal | 31, 7, 44 |
| RGB Percent | 12.2%, 2.7%, 17.3% |
| CMYK (approx.) | 30%, 84%, 0%, 83% |
Related Palettes
12 palettes using #1F072C or similar colors