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