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