#240066
Dark Purple
HEX
RGB
HSL
About #240066 Dark Purple
#240066 is a dark purple color. In the RGB color model, it is composed of 36 red, 0 green, and 102 blue. In the HSL color space, it has a hue of 261°, saturation of 100%, 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 #240066 in your CSS, SCSS, or Tailwind projects.
Color Properties
261°
Hue
100%
Saturation
20%
Lightness
Dark Purple
Color Harmonies
Colors that work well with #240066 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #240066 against white and black backgrounds.
Aa#240066 on White
Contrast Ratio16.58:1
AA ✓AA Large ✓AAA ✓
Aa#240066 on Black
Contrast Ratio1.27:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #240066 across different color formats.
| Format | Value |
|---|---|
| HEX | #240066 |
| RGB | rgb(36, 0, 102) |
| HSL | hsl(261, 100%, 20%) |
| RGB Decimal | 36, 0, 102 |
| RGB Percent | 14.1%, 0.0%, 40.0% |
| CMYK (approx.) | 65%, 100%, 0%, 60% |
Related Palettes
12 palettes using #240066 or similar colors