Color: #5A304E

#5A304E Color Information

#5A304E is a dark color. The closest websafe version is #5A304E. A complement of this color would be #305A3C, perceived brightness is 0.25, and the grayscale version is #454545.

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

In a RGB color space, #5A304E is composed of 35% red, 19% green and 31% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 47% magenta, 13% yellow and 65% black.

In the Yxy color space, this color is represented as Y: 4.86, x: 0.3840, and y: 0.2790.

Color Code #5A304E

HEX
#5A304E
RGB
rgb(90, 48, 78)
HSL
hsl(317, 30%, 27%)
HSV
hsv(317, 47%, 35%)
CMYK
0%, 47%, 13%, 65%
XYZ
X: 6.69, Y: 4.86, Z: 5.87
Lab
L: 26.32, a: 23.01, b: -9.91
Name

Shades of Color #5A304E

Shades are created by darkening the original color #5A304E 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 #5A304E

Tints are created by lightening the original color #5A304E 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 #5A304E Color Code

In the HSL color space, this color has a hue angle of 317°, a saturation of 30%, and a lightness of 27%. The HSV representation shows a hue of 317°, a saturation of 47%, and a value of 35%.

  • HEX: #5A304E
  • RGB: rgb(90, 48, 78)
  • HSL: hsl(317, 30%, 27%)
  • HSV: hsv(317, 47%, 35%)
  • CMYK: 0.00% cyan, 47.00% magenta, 13.00% yellow, 65.00% black
  • XYZ: 6.69, 4.86, 5.87
  • Yxy: 4.86, 0.3840, 0.2790
  • Hunter Lab: 26.32, 23.01, -9.91
  • CIE-Lab: 26.32, 23.01, -9.91

In the XYZ color space, this color is represented as X: 6.69, Y: 4.86, Z: 5.87. The Yxy representation further refines this as Y: 4.86, x: 0.3840, and y: 0.2790.

In the Hunter Lab color space, this color is represented as L: 26.32, a: 23.01, and b: -9.91. Similarly, in the CIE-Lab color space, it is represented as L: 26.32, a: 23.01, and b: -9.91.

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 #5A304E

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

Analogous Colors of #5A304E

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

Monochromatic Colors of #5A304E

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

Complementary Color of #5A304E

The complementary color of #5A304E 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 #5A304E

/* Using HEX */
body {
  background-color: #5a304e;
}
/* Using RGB */
body {
  background-color: rgb(90, 48, 78);
}
/* Using RGB with opacity */
body {
  background-color: rgba(90, 48, 78, 0.5);
}
/* Using HSL */
body {
  background-color: hsl(317, 30%, 27%);
}
/* Text color */
p {
  color: #5a304e;
}
Text Preview
/* Box shadow */
div {
  box-shadow: 4px 4px #5a304e;
}

HTML Examples of #5A304E

<!-- Using HEX -->
<div style="background-color: #5a304e; width: 100px; height: 100px;"></div>
<!-- Using RGB -->
<div style="background-color: rgb(90, 48, 78); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity -->
<div style="background-color: rgba(90, 48, 78, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL -->
<div style="background-color: hsl(317, 30%, 27%); width: 100px; height: 100px;"></div>
<!-- Text color -->
<p style="color: #5a304e;">This is a text example.</p>
Text Preview
<!-- Box shadow -->
<div style="box-shadow: 4px 4px #5a304e; width: 100px; height: 100px;"></div>

Related Colors of #5A304E

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