#40188C
Purple
HEX
RGB
HSL
About #40188C Purple
#40188C is a purple color. In the RGB color model, it is composed of 64 red, 24 green, and 140 blue. In the HSL color space, it has a hue of 261°, saturation of 71%, and lightness of 32%.
This color has a low lightness value, making it a dark color great for text and bold accents. With high saturation, it appears vibrant and eye-catching.
CSS Code & Gradients
Use #40188C in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
261°
Hue
71%
Saturation
32%
Lightness
Purple
Color Harmonies
Colors that work well with #40188C based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #40188C against white and black backgrounds.
Aa#40188C on White
Contrast Ratio12.16:1
AA ✓AA Large ✓AAA ✓
Aa#40188C on Black
Contrast Ratio1.73:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #40188C across different color formats.
| Format | Value |
|---|---|
| HEX | #40188C |
| RGB | rgb(64, 24, 140) |
| HSL | hsl(261, 71%, 32%) |
| RGB Decimal | 64, 24, 140 |
| RGB Percent | 25.1%, 9.4%, 54.9% |
| CMYK (approx.) | 54%, 83%, 0%, 45% |
Related Palettes
12 palettes using #40188C or similar colors