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