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