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