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