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