#240F57
Dark Purple
HEX
RGB
HSL
About #240F57 Dark Purple
#240F57 is a dark purple color. In the RGB color model, it is composed of 36 red, 15 green, and 87 blue. In the HSL color space, it has a hue of 258°, saturation of 71%, and lightness of 20%.
This color has a low lightness value, making it a dark color great for text and bold accents. With high saturation, it appears vibrant and eye-catching.
CSS Code
Use #240F57 in your CSS, SCSS, or Tailwind projects.
Color Properties
258°
Hue
71%
Saturation
20%
Lightness
Dark Purple
Color Harmonies
Colors that work well with #240F57 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #240F57 against white and black backgrounds.
Aa#240F57 on White
Contrast Ratio16.39:1
AA ✓AA Large ✓AAA ✓
Aa#240F57 on Black
Contrast Ratio1.28:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #240F57 across different color formats.
| Format | Value |
|---|---|
| HEX | #240F57 |
| RGB | rgb(36, 15, 87) |
| HSL | hsl(258, 71%, 20%) |
| RGB Decimal | 36, 15, 87 |
| RGB Percent | 14.1%, 5.9%, 34.1% |
| CMYK (approx.) | 59%, 83%, 0%, 66% |
Related Palettes
12 palettes using #240F57 or similar colors