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