Color: #511585
#511585 Color Information
#511585 is a dark color. The closest websafe version is #511585. A complement of this color would be #498415, perceived brightness is 0.20, and the grayscale version is #4D4D4D.
In the HSL color space, this color has a hue angle of 272°,a saturation of 73%, and a lightness of 30%.The HSV representation shows a hue of 272°, a saturation of 84%, and a value of 52%.
In a RGB color space, #511585 is composed of 32% red, 8% green and 52% blue. Whereas in a CMYK color space, it is composed of 39% cyan, 84% magenta, 0% yellow and 48% black.
In the Yxy color space, this color is represented as Y: 3.79, x: 0.2586, and y: 0.1356.
Color Code #511585
Shades of Color #511585
Shades are created by darkening the original color #511585 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 #511585
Tints are created by lightening the original color #511585 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 #511585 Color Code
In the HSL color space, this color has a hue angle of 272°, a saturation of 73%, and a lightness of 30%. The HSV representation shows a hue of 272°, a saturation of 84%, and a value of 52%.
- HEX: #511585
- RGB: rgb(81, 21, 133)
- HSL: hsl(272, 73%, 30%)
- HSV: hsv(272, 84%, 52%)
- CMYK: 39.00% cyan, 84.00% magenta, 0.00% yellow, 48.00% black
- XYZ: 7.23, 3.79, 16.94
- Yxy: 3.79, 0.2586, 0.1356
- Hunter Lab: 22.97, 42.92, -50.80
- CIE-Lab: 22.97, 42.92, -50.80
In the XYZ color space, this color is represented as X: 7.23, Y: 3.79, Z: 16.94. The Yxy representation further refines this as Y: 3.79, x: 0.2586, and y: 0.1356.
In the Hunter Lab color space, this color is represented as L: 22.97, a: 42.92, and b: -50.80. Similarly, in the CIE-Lab color space, it is represented as L: 22.97, a: 42.92, and b: -50.80.
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 #511585
Triadic colors are three colors evenly spaced around the color wheel, including #511585. They create vibrant and balanced color schemes, perfect for designs that need contrast and harmony.
Split Complementary Colors of #511585
Split complementary colors are two colors adjacent to the complementary color of #511585. They create a balanced and visually appealing color scheme.
Monochromatic Colors of #511585
Monochromatic colors are variations of #511585, including its shades, tints, and tones. They create elegant and minimalistic designs with a unified color theme.
Complementary Color of #511585
The complementary color of #511585 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 #511585
/* Using HEX */ body { background-color: #511585; }
/* Using RGB */ body { background-color: rgb(81, 21, 133); }
/* Using RGB with opacity */ body { background-color: rgba(81, 21, 133, 0.5); }
/* Using HSL */ body { background-color: hsl(272, 73%, 30%); }
/* Text color */ p { color: #511585; }
/* Box shadow */ div { box-shadow: 4px 4px #511585; }
/* Border color */ .box { border: 4px solid #511585; }
/* Text shadow */ h1 { color: #222; text-shadow: 2px 2px 0 #511585; }
/* Background with text */ div { background: #511585; color: #fff; padding: 16px; border-radius: 8px; }
HTML Examples of #511585
<!-- Using HEX --> <div style="background-color: #511585; width: 100px; height: 100px;"></div>
<!-- Using RGB --> <div style="background-color: rgb(81, 21, 133); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity --> <div style="background-color: rgba(81, 21, 133, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL --> <div style="background-color: hsl(272, 73%, 30%); width: 100px; height: 100px;"></div>
<!-- Text color --> <p style="color: #511585;">This is a text example.</p>
<!-- Box shadow --> <div style="box-shadow: 4px 4px #511585; width: 100px; height: 100px;"></div>
<!-- Border color --> <div style="border: 4px solid #511585; width: 100px; height: 100px;"></div>
<!-- Text shadow --> <h1 style="color: #222; text-shadow: 2px 2px 0 #511585;">Text Shadow Preview</h1>
<!-- Background with text --> <div style="background: #511585; color: #fff; padding: 16px; border-radius: 8px;"> #511585 </div>
Related Colors of #511585
These colors are similar to #511585, with slight variations in hue. Use them to create harmonious designs or explore alternative shades for your projects.