#240246
Dark Purple
HEX
RGB
HSL
About #240246 Dark Purple
#240246 is a dark purple color. In the RGB color model, it is composed of 36 red, 2 green, and 70 blue. In the HSL color space, it has a hue of 270°, saturation of 94%, and lightness of 14%.
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 #240246 in your CSS, SCSS, or Tailwind projects.
Color Properties
270°
Hue
94%
Saturation
14%
Lightness
Dark Purple
Color Harmonies
Colors that work well with #240246 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #240246 against white and black backgrounds.
Aa#240246 on White
Contrast Ratio17.92:1
AA ✓AA Large ✓AAA ✓
Aa#240246 on Black
Contrast Ratio1.17:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #240246 across different color formats.
| Format | Value |
|---|---|
| HEX | #240246 |
| RGB | rgb(36, 2, 70) |
| HSL | hsl(270, 94%, 14%) |
| RGB Decimal | 36, 2, 70 |
| RGB Percent | 14.1%, 0.8%, 27.5% |
| CMYK (approx.) | 49%, 97%, 0%, 73% |
Related Palettes
12 palettes using #240246 or similar colors