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