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