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