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