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