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