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