#40188B
Purple
HEX
RGB
HSL
About #40188B Purple
#40188B is a purple color. In the RGB color model, it is composed of 64 red, 24 green, and 139 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 #40188B 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 #40188B based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #40188B against white and black backgrounds.
Aa#40188B on White
Contrast Ratio12.2:1
AA ✓AA Large ✓AAA ✓
Aa#40188B on Black
Contrast Ratio1.72:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #40188B across different color formats.
| Format | Value |
|---|---|
| HEX | #40188B |
| RGB | rgb(64, 24, 139) |
| HSL | hsl(261, 71%, 32%) |
| RGB Decimal | 64, 24, 139 |
| RGB Percent | 25.1%, 9.4%, 54.5% |
| CMYK (approx.) | 54%, 83%, 0%, 45% |
Related Palettes
12 palettes using #40188B or similar colors