Color: #4B0082
#4B0082 Color Information
#4B0082 is a dark color. The closest websafe version is #4B0082. A complement of this color would be #358000, perceived brightness is 0.15, and the grayscale version is #414141.
In the HSL color space, this color has a hue angle of 275°,a saturation of 99%, and a lightness of 25%.The HSV representation shows a hue of 275°, a saturation of 100%, and a value of 100%.
In a RGB color space, #4B0082 is composed of 29% red, 0% green and 51% blue. Whereas in a CMYK color space, it is composed of 42% cyan, 100% magenta, 0% yellow and 49% black.
In the Yxy color space, this color is represented as Y: 2.92, x: 0.2482, and y: 0.1158.
Color Code #4B0082
Shades of Color #4B0082
Shades are created by darkening the original color #4B0082 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 #4B0082
Tints are created by lightening the original color #4B0082 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 #4B0082 Color Code
In the HSL color space, this color has a hue angle of 275°, a saturation of 100%, and a lightness of 25%. The HSV representation shows a hue of 275°, a saturation of 100%, and a value of 51%.
- HEX: #4B0082
- RGB: rgb(75, 0, 130)
- HSL: hsl(275, 100%, 25%)
- HSV: hsv(275, 100%, 51%)
- CMYK: 42.00% cyan, 100.00% magenta, 0.00% yellow, 49.00% black
- XYZ: 6.26, 2.92, 16.04
- Yxy: 2.92, 0.2482, 0.1158
- Hunter Lab: 19.72, 47.04, -54.28
- CIE-Lab: 19.72, 47.04, -54.28
In the XYZ color space, this color is represented as X: 6.26, Y: 2.92, Z: 16.04. The Yxy representation further refines this as Y: 2.92, x: 0.2482, and y: 0.1158.
In the Hunter Lab color space, this color is represented as L: 19.72, a: 47.04, and b: -54.28. Similarly, in the CIE-Lab color space, it is represented as L: 19.72, a: 47.04, and b: -54.28.
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 #4B0082
Triadic colors are three colors evenly spaced around the color wheel, including #4B0082. They create vibrant and balanced color schemes, perfect for designs that need contrast and harmony.
Monochromatic Colors of #4B0082
Monochromatic colors are variations of #4B0082, including its shades, tints, and tones. They create elegant and minimalistic designs with a unified color theme.
Complementary Color of #4B0082
The complementary color of #4B0082 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 #4B0082
/* Using HEX */ body { background-color: #4b0082; }
/* Using RGB */ body { background-color: rgb(75, 0, 130); }
/* Using RGB with opacity */ body { background-color: rgba(75, 0, 130, 0.5); }
/* Using HSL */ body { background-color: hsl(275, 100%, 25%); }
/* Text color */ p { color: #4b0082; }
/* Box shadow */ div { box-shadow: 4px 4px #4b0082; }
HTML Examples of #4B0082
<!-- Using HEX --> <div style="background-color: #4b0082; width: 100px; height: 100px;"></div>
<!-- Using RGB --> <div style="background-color: rgb(75, 0, 130); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity --> <div style="background-color: rgba(75, 0, 130, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL --> <div style="background-color: hsl(275, 100%, 25%); width: 100px; height: 100px;"></div>
<!-- Text color --> <p style="color: #4b0082;">This is a text example.</p>
<!-- Box shadow --> <div style="box-shadow: 4px 4px #4b0082; width: 100px; height: 100px;"></div>
Related Colors of #4B0082
These colors are similar to #4B0082, with slight variations in hue. Use them to create harmonious designs or explore alternative shades for your projects.