Color: #7F42C0

#7F42C0 Color Information

#7F42C0 is a dark color. The closest websafe version is #7F42C0. A complement of this color would be #84C144, perceived brightness is 0.39, and the grayscale version is #818181.

In the HSL color space, this color has a hue angle of 269°,a saturation of 50%, and a lightness of 51%.The HSV representation shows a hue of 269°, a saturation of 100%, and a value of 100%.

In a RGB color space, #7F42C0 is composed of 50% red, 26% green and 75% blue. Whereas in a CMYK color space, it is composed of 34% cyan, 66% magenta, 0% yellow and 25% black.

In the Yxy color space, this color is represented as Y: 11.82, x: 0.2731, and y: 0.1709.

Color Code #7F42C0

HEX
#7F42C0
RGB
rgb(127, 66, 192)
HSL
hsl(269, 50%, 51%)
HSV
hsv(269, 66%, 75%)
CMYK
34%, 66%, 0%, 25%
XYZ
X: 18.89, Y: 11.82, Z: 38.47
Lab
L: 40.93, a: 45.02, b: -56.92
Name

Shades of Color #7F42C0

Shades are created by darkening the original color #7F42C0 in equal steps from 0% to 90%. These shades are perfect for creating depth and contrast in your designs. Use them to add visual hierarchy or highlight specific elements in your projects.

Tints of Color #7F42C0

Tints are created by lightening the original color #7F42C0 in equal steps from 0% to 90%, ending with pure white. These tints are ideal for creating soft backgrounds, subtle highlights, or cohesive UI elements that complement your designs.

About #7F42C0 Color Code

In the HSL color space, this color has a hue angle of 269°, a saturation of 50%, and a lightness of 51%. The HSV representation shows a hue of 269°, a saturation of 66%, and a value of 75%.

  • HEX: #7F42C0
  • RGB: rgb(127, 66, 192)
  • HSL: hsl(269, 50%, 51%)
  • HSV: hsv(269, 66%, 75%)
  • CMYK: 34.00% cyan, 66.00% magenta, 0.00% yellow, 25.00% black
  • XYZ: 18.89, 11.82, 38.47
  • Yxy: 11.82, 0.2731, 0.1709
  • Hunter Lab: 40.93, 45.02, -56.92
  • CIE-Lab: 40.93, 45.02, -56.92

In the XYZ color space, this color is represented as X: 18.89, Y: 11.82, Z: 38.47. The Yxy representation further refines this as Y: 11.82, x: 0.2731, and y: 0.1709.

In the Hunter Lab color space, this color is represented as L: 40.93, a: 45.02, and b: -56.92. Similarly, in the CIE-Lab color space, it is represented as L: 40.93, a: 45.02, and b: -56.92.

Use these color codes in your CSS, design tools, or anywhere you need to specify a color. You can also explore its shades and tints for more creative options.

Triadic Colors of #7F42C0

Triadic colors are three colors evenly spaced around the color wheel, including #7F42C0. They create vibrant and balanced color schemes, perfect for designs that need contrast and harmony.

Analogous Colors of #7F42C0

Analogous colors are adjacent to #7F42C0 on the color wheel. They create harmonious and visually pleasing designs, ideal for projects that need a cohesive look.

Monochromatic Colors of #7F42C0

Monochromatic colors are variations of #7F42C0, including its shades, tints, and tones. They create elegant and minimalistic designs with a unified color theme.

Complementary Color of #7F42C0

The complementary color of #7F42C0 is opposite it on the color wheel. Complementary colors provide strong contrast and are ideal for designs that need visual impact and attention.

CSS Examples of #7F42C0

/* Using HEX */
body {
  background-color: #7f42c0;
}
/* Using RGB */
body {
  background-color: rgb(127, 66, 192);
}
/* Using RGB with opacity */
body {
  background-color: rgba(127, 66, 192, 0.5);
}
/* Using HSL */
body {
  background-color: hsl(269, 50%, 51%);
}
/* Text color */
p {
  color: #7f42c0;
}
Text Preview
/* Box shadow */
div {
  box-shadow: 4px 4px #7f42c0;
}

HTML Examples of #7F42C0

<!-- Using HEX -->
<div style="background-color: #7f42c0; width: 100px; height: 100px;"></div>
<!-- Using RGB -->
<div style="background-color: rgb(127, 66, 192); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity -->
<div style="background-color: rgba(127, 66, 192, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL -->
<div style="background-color: hsl(269, 50%, 51%); width: 100px; height: 100px;"></div>
<!-- Text color -->
<p style="color: #7f42c0;">This is a text example.</p>
Text Preview
<!-- Box shadow -->
<div style="box-shadow: 4px 4px #7f42c0; width: 100px; height: 100px;"></div>

Related Colors of #7F42C0

These colors are similar to #7F42C0, with slight variations in hue. Use them to create harmonious designs or explore alternative shades for your projects.