#240C2E
Dark Purple
HEX
RGB
HSL
About #240C2E Dark Purple
#240C2E is a dark purple color. In the RGB color model, it is composed of 36 red, 12 green, and 46 blue. In the HSL color space, it has a hue of 282°, saturation of 59%, and lightness of 11%.
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 #240C2E in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
282°
Hue
59%
Saturation
11%
Lightness
Dark Purple
Color Harmonies
Colors that work well with #240C2E based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #240C2E against white and black backgrounds.
Aa#240C2E on White
Contrast Ratio17.99:1
AA ✓AA Large ✓AAA ✓
Aa#240C2E on Black
Contrast Ratio1.17:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #240C2E across different color formats.
| Format | Value |
|---|---|
| HEX | #240C2E |
| RGB | rgb(36, 12, 46) |
| HSL | hsl(282, 59%, 11%) |
| RGB Decimal | 36, 12, 46 |
| RGB Percent | 14.1%, 4.7%, 18.0% |
| CMYK (approx.) | 22%, 74%, 0%, 82% |
Related Palettes
12 palettes using #240C2E or similar colors