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