#1F0872
Dark Purple
HEX
RGB
HSL
About #1F0872 Dark Purple
#1F0872 is a dark purple color. In the RGB color model, it is composed of 31 red, 8 green, and 114 blue. In the HSL color space, it has a hue of 253°, saturation of 87%, and lightness of 24%.
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 & Gradients
Use #1F0872 in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
253°
Hue
87%
Saturation
24%
Lightness
Dark Purple
Color Harmonies
Colors that work well with #1F0872 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #1F0872 against white and black backgrounds.
Aa#1F0872 on White
Contrast Ratio15.72:1
AA ✓AA Large ✓AAA ✓
Aa#1F0872 on Black
Contrast Ratio1.34:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #1F0872 across different color formats.
| Format | Value |
|---|---|
| HEX | #1F0872 |
| RGB | rgb(31, 8, 114) |
| HSL | hsl(253, 87%, 24%) |
| RGB Decimal | 31, 8, 114 |
| RGB Percent | 12.2%, 3.1%, 44.7% |
| CMYK (approx.) | 73%, 93%, 0%, 55% |
Related Palettes
12 palettes using #1F0872 or similar colors