#400366
Dark Purple
HEX
RGB
HSL
About #400366 Dark Purple
#400366 is a dark purple color. In the RGB color model, it is composed of 64 red, 3 green, and 102 blue. In the HSL color space, it has a hue of 277°, saturation of 94%, and lightness of 21%.
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 #400366 in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
277°
Hue
94%
Saturation
21%
Lightness
Dark Purple
Color Harmonies
Colors that work well with #400366 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #400366 against white and black backgrounds.
Aa#400366 on White
Contrast Ratio14.76:1
AA ✓AA Large ✓AAA ✓
Aa#400366 on Black
Contrast Ratio1.42:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #400366 across different color formats.
| Format | Value |
|---|---|
| HEX | #400366 |
| RGB | rgb(64, 3, 102) |
| HSL | hsl(277, 94%, 21%) |
| RGB Decimal | 64, 3, 102 |
| RGB Percent | 25.1%, 1.2%, 40.0% |
| CMYK (approx.) | 37%, 97%, 0%, 60% |
Related Palettes
12 palettes using #400366 or similar colors