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