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