#12051F
Dark Purple
HEX
RGB
HSL
About #12051F Dark Purple
#12051F is a dark purple color. In the RGB color model, it is composed of 18 red, 5 green, and 31 blue. In the HSL color space, it has a hue of 270°, saturation of 72%, and lightness of 7%.
This color has a low lightness value, making it a dark color great for text and bold accents. With high saturation, it appears vibrant and eye-catching.
CSS Code
Use #12051F in your CSS, SCSS, or Tailwind projects.
Color Properties
270°
Hue
72%
Saturation
7%
Lightness
Dark Purple
Color Harmonies
Colors that work well with #12051F based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #12051F against white and black backgrounds.
Aa#12051F on White
Contrast Ratio19.68:1
AA ✓AA Large ✓AAA ✓
Aa#12051F on Black
Contrast Ratio1.07:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #12051F across different color formats.
| Format | Value |
|---|---|
| HEX | #12051F |
| RGB | rgb(18, 5, 31) |
| HSL | hsl(270, 72%, 7%) |
| RGB Decimal | 18, 5, 31 |
| RGB Percent | 7.1%, 2.0%, 12.2% |
| CMYK (approx.) | 42%, 84%, 0%, 88% |
Related Palettes
12 palettes using #12051F or similar colors