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