#40285E
Purple
HEX
RGB
HSL
About #40285E Purple
#40285E is a purple color. In the RGB color model, it is composed of 64 red, 40 green, and 94 blue. In the HSL color space, it has a hue of 267°, saturation of 40%, and lightness of 26%.
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 #40285E in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
267°
Hue
40%
Saturation
26%
Lightness
Purple
Color Harmonies
Colors that work well with #40285E based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #40285E against white and black backgrounds.
Aa#40285E on White
Contrast Ratio12.48:1
AA ✓AA Large ✓AAA ✓
Aa#40285E on Black
Contrast Ratio1.68:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #40285E across different color formats.
| Format | Value |
|---|---|
| HEX | #40285E |
| RGB | rgb(64, 40, 94) |
| HSL | hsl(267, 40%, 26%) |
| RGB Decimal | 64, 40, 94 |
| RGB Percent | 25.1%, 15.7%, 36.9% |
| CMYK (approx.) | 32%, 57%, 0%, 63% |
Related Palettes
12 palettes using #40285E or similar colors