#12021D
Dark Purple
HEX
RGB
HSL
About #12021D Dark Purple
#12021D is a dark purple color. In the RGB color model, it is composed of 18 red, 2 green, and 29 blue. In the HSL color space, it has a hue of 276°, saturation of 87%, and lightness of 6%.
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 & Gradients
Use #12021D in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
276°
Hue
87%
Saturation
6%
Lightness
Dark Purple
Color Harmonies
Colors that work well with #12021D based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #12021D against white and black backgrounds.
Aa#12021D on White
Contrast Ratio19.96:1
AA ✓AA Large ✓AAA ✓
Aa#12021D on Black
Contrast Ratio1.05:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #12021D across different color formats.
| Format | Value |
|---|---|
| HEX | #12021D |
| RGB | rgb(18, 2, 29) |
| HSL | hsl(276, 87%, 6%) |
| RGB Decimal | 18, 2, 29 |
| RGB Percent | 7.1%, 0.8%, 11.4% |
| CMYK (approx.) | 38%, 93%, 0%, 89% |
Related Palettes
12 palettes using #12021D or similar colors