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