#240047
Dark Purple
HEX
RGB
HSL
About #240047 Dark Purple
#240047 is a dark purple color. In the RGB color model, it is composed of 36 red, 0 green, and 71 blue. In the HSL color space, it has a hue of 270°, saturation of 100%, 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 #240047 in your CSS, SCSS, or Tailwind projects.
Color Properties
270°
Hue
100%
Saturation
14%
Lightness
Dark Purple
Color Harmonies
Colors that work well with #240047 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #240047 against white and black backgrounds.
Aa#240047 on White
Contrast Ratio18.01:1
AA ✓AA Large ✓AAA ✓
Aa#240047 on Black
Contrast Ratio1.17:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #240047 across different color formats.
| Format | Value |
|---|---|
| HEX | #240047 |
| RGB | rgb(36, 0, 71) |
| HSL | hsl(270, 100%, 14%) |
| RGB Decimal | 36, 0, 71 |
| RGB Percent | 14.1%, 0.0%, 27.8% |
| CMYK (approx.) | 49%, 100%, 0%, 72% |
Related Palettes
12 palettes using #240047 or similar colors