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