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