#40075F
Dark Purple
HEX
RGB
HSL
About #40075F Dark Purple
#40075F is a dark purple color. In the RGB color model, it is composed of 64 red, 7 green, and 95 blue. In the HSL color space, it has a hue of 279°, saturation of 86%, 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 #40075F in your CSS, SCSS, or Tailwind projects.
Color Properties
279°
Hue
86%
Saturation
20%
Lightness
Dark Purple
Color Harmonies
Colors that work well with #40075F based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #40075F against white and black backgrounds.
Aa#40075F on White
Contrast Ratio14.86:1
AA ✓AA Large ✓AAA ✓
Aa#40075F on Black
Contrast Ratio1.41:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #40075F across different color formats.
| Format | Value |
|---|---|
| HEX | #40075F |
| RGB | rgb(64, 7, 95) |
| HSL | hsl(279, 86%, 20%) |
| RGB Decimal | 64, 7, 95 |
| RGB Percent | 25.1%, 2.7%, 37.3% |
| CMYK (approx.) | 33%, 93%, 0%, 63% |
Related Palettes
12 palettes using #40075F or similar colors