#6042C0
Purple
HEX
RGB
HSL
About #6042C0 Purple
#6042C0 is a purple color. In the RGB color model, it is composed of 96 red, 66 green, and 192 blue. In the HSL color space, it has a hue of 254°, saturation of 50%, and lightness of 51%.
This color has a medium lightness value, making it a balanced tone ideal for both text and UI elements. With moderate saturation, it appears balanced and versatile.
CSS Code
Use #6042C0 in your CSS, SCSS, or Tailwind projects.
Color Properties
254°
Hue
50%
Saturation
51%
Lightness
Purple
Color Harmonies
Colors that work well with #6042C0 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #6042C0 against white and black backgrounds.
Aa#6042C0 on White
Contrast Ratio6.91:1
AA ✓AA Large ✓AAA ✗
Aa#6042C0 on Black
Contrast Ratio3.04:1
AA ✗AA Large ✓AAA ✗
Color Conversion Table
Complete conversion of #6042C0 across different color formats.
| Format | Value |
|---|---|
| HEX | #6042C0 |
| RGB | rgb(96, 66, 192) |
| HSL | hsl(254, 50%, 51%) |
| RGB Decimal | 96, 66, 192 |
| RGB Percent | 37.6%, 25.9%, 75.3% |
| CMYK (approx.) | 50%, 66%, 0%, 25% |
Related Palettes
12 palettes using #6042C0 or similar colors