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