#1F1A2D
Dark Purple
HEX
RGB
HSL
About #1F1A2D Dark Purple
#1F1A2D is a dark purple color. In the RGB color model, it is composed of 31 red, 26 green, and 45 blue. In the HSL color space, it has a hue of 256°, saturation of 27%, and lightness of 14%.
This color has a low lightness value, making it a dark color great for text and bold accents. With low saturation, it appears muted and subtle.
CSS Code
Use #1F1A2D in your CSS, SCSS, or Tailwind projects.
Color Properties
256°
Hue
27%
Saturation
14%
Lightness
Dark Purple
Color Harmonies
Colors that work well with #1F1A2D based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #1F1A2D against white and black backgrounds.
Aa#1F1A2D on White
Contrast Ratio16.88:1
AA ✓AA Large ✓AAA ✓
Aa#1F1A2D on Black
Contrast Ratio1.24:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #1F1A2D across different color formats.
| Format | Value |
|---|---|
| HEX | #1F1A2D |
| RGB | rgb(31, 26, 45) |
| HSL | hsl(256, 27%, 14%) |
| RGB Decimal | 31, 26, 45 |
| RGB Percent | 12.2%, 10.2%, 17.6% |
| CMYK (approx.) | 31%, 42%, 0%, 82% |
Related Palettes
12 palettes using #1F1A2D or similar colors