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