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