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