#40135D
Dark Purple
HEX
RGB
HSL
About #40135D Dark Purple
#40135D is a dark purple color. In the RGB color model, it is composed of 64 red, 19 green, and 93 blue. In the HSL color space, it has a hue of 276°, saturation of 66%, and lightness of 22%.
This color has a low lightness value, making it a dark color great for text and bold accents. With moderate saturation, it appears balanced and versatile.
CSS Code
Use #40135D in your CSS, SCSS, or Tailwind projects.
Color Properties
276°
Hue
66%
Saturation
22%
Lightness
Dark Purple
Color Harmonies
Colors that work well with #40135D based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #40135D against white and black backgrounds.
Aa#40135D on White
Contrast Ratio14.29:1
AA ✓AA Large ✓AAA ✓
Aa#40135D on Black
Contrast Ratio1.47:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #40135D across different color formats.
| Format | Value |
|---|---|
| HEX | #40135D |
| RGB | rgb(64, 19, 93) |
| HSL | hsl(276, 66%, 22%) |
| RGB Decimal | 64, 19, 93 |
| RGB Percent | 25.1%, 7.5%, 36.5% |
| CMYK (approx.) | 31%, 80%, 0%, 64% |
Related Palettes
12 palettes using #40135D or similar colors