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