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