#342777
Purple
HEX
RGB
HSL
About #342777 Purple
#342777 is a purple color. In the RGB color model, it is composed of 52 red, 39 green, and 119 blue. In the HSL color space, it has a hue of 250°, saturation of 51%, and lightness of 31%.
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 & Gradients
Use #342777 in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
250°
Hue
51%
Saturation
31%
Lightness
Purple
Color Harmonies
Colors that work well with #342777 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #342777 against white and black backgrounds.
Aa#342777 on White
Contrast Ratio12.33:1
AA ✓AA Large ✓AAA ✓
Aa#342777 on Black
Contrast Ratio1.7:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #342777 across different color formats.
| Format | Value |
|---|---|
| HEX | #342777 |
| RGB | rgb(52, 39, 119) |
| HSL | hsl(250, 51%, 31%) |
| RGB Decimal | 52, 39, 119 |
| RGB Percent | 20.4%, 15.3%, 46.7% |
| CMYK (approx.) | 56%, 67%, 0%, 53% |
Related Palettes
12 palettes using #342777 or similar colors