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