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