#180840
Dark Purple
HEX
RGB
HSL
About #180840 Dark Purple
#180840 is a dark purple color. In the RGB color model, it is composed of 24 red, 8 green, and 64 blue. In the HSL color space, it has a hue of 257°, saturation of 78%, and lightness of 14%.
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 #180840 in your CSS, SCSS, or Tailwind projects.
Color Properties
257°
Hue
78%
Saturation
14%
Lightness
Dark Purple
Color Harmonies
Colors that work well with #180840 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #180840 against white and black backgrounds.
Aa#180840 on White
Contrast Ratio18.3:1
AA ✓AA Large ✓AAA ✓
Aa#180840 on Black
Contrast Ratio1.15:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #180840 across different color formats.
| Format | Value |
|---|---|
| HEX | #180840 |
| RGB | rgb(24, 8, 64) |
| HSL | hsl(257, 78%, 14%) |
| RGB Decimal | 24, 8, 64 |
| RGB Percent | 9.4%, 3.1%, 25.1% |
| CMYK (approx.) | 63%, 88%, 0%, 75% |
Related Palettes
12 palettes using #180840 or similar colors