Color: #42215C
#42215C Color Information
#42215C is a dark color. The closest websafe version is #42215C. A complement of this color would be #3C5E22, perceived brightness is 0.19, and the grayscale version is #3F3F3F.
In the HSL color space, this color has a hue angle of 274°,a saturation of 47%, and a lightness of 25%.The HSV representation shows a hue of 274°, a saturation of 64%, and a value of 36%.
In a RGB color space, #42215C is composed of 26% red, 13% green and 36% blue. Whereas in a CMYK color space, it is composed of 28% cyan, 64% magenta, 0% yellow and 64% black.
In the Yxy color space, this color is represented as Y: 2.95, x: 0.2933, and y: 0.1927.
Color Code #42215C
Shades of Color #42215C
Shades are created by darkening the original color #42215C 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 #42215C
Tints are created by lightening the original color #42215C 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 #42215C Color Code
In the HSL color space, this color has a hue angle of 274°, a saturation of 47%, and a lightness of 25%. The HSV representation shows a hue of 274°, a saturation of 64%, and a value of 36%.
- HEX: #42215C
- RGB: rgb(66, 33, 92)
- HSL: hsl(274, 47%, 25%)
- HSV: hsv(274, 64%, 36%)
- CMYK: 28.00% cyan, 64.00% magenta, 0.00% yellow, 64.00% black
- XYZ: 4.49, 2.95, 7.87
- Yxy: 2.95, 0.2933, 0.1927
- Hunter Lab: 19.85, 25.41, -29.56
- CIE-Lab: 19.85, 25.41, -29.56
In the XYZ color space, this color is represented as X: 4.49, Y: 2.95, Z: 7.87. The Yxy representation further refines this as Y: 2.95, x: 0.2933, and y: 0.1927.
In the Hunter Lab color space, this color is represented as L: 19.85, a: 25.41, and b: -29.56. Similarly, in the CIE-Lab color space, it is represented as L: 19.85, a: 25.41, and b: -29.56.
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 #42215C
Triadic colors are three colors evenly spaced around the color wheel, including #42215C. They create vibrant and balanced color schemes, perfect for designs that need contrast and harmony.
Monochromatic Colors of #42215C
Monochromatic colors are variations of #42215C, including its shades, tints, and tones. They create elegant and minimalistic designs with a unified color theme.
Complementary Color of #42215C
The complementary color of #42215C 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 #42215C
/* Using HEX */ body { background-color: #42215c; }
/* Using RGB */ body { background-color: rgb(66, 33, 92); }
/* Using RGB with opacity */ body { background-color: rgba(66, 33, 92, 0.5); }
/* Using HSL */ body { background-color: hsl(274, 47%, 25%); }
/* Text color */ p { color: #42215c; }
/* Box shadow */ div { box-shadow: 4px 4px #42215c; }
/* Border color */ .box { border: 4px solid #42215c; }
/* Text shadow */ h1 { color: #222; text-shadow: 2px 2px 0 #42215c; }
/* Background with text */ div { background: #42215c; color: #fff; padding: 16px; border-radius: 8px; }
HTML Examples of #42215C
<!-- Using HEX --> <div style="background-color: #42215c; width: 100px; height: 100px;"></div>
<!-- Using RGB --> <div style="background-color: rgb(66, 33, 92); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity --> <div style="background-color: rgba(66, 33, 92, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL --> <div style="background-color: hsl(274, 47%, 25%); width: 100px; height: 100px;"></div>
<!-- Text color --> <p style="color: #42215c;">This is a text example.</p>
<!-- Box shadow --> <div style="box-shadow: 4px 4px #42215c; width: 100px; height: 100px;"></div>
<!-- Border color --> <div style="border: 4px solid #42215c; width: 100px; height: 100px;"></div>
<!-- Text shadow --> <h1 style="color: #222; text-shadow: 2px 2px 0 #42215c;">Text Shadow Preview</h1>
<!-- Background with text --> <div style="background: #42215c; color: #fff; padding: 16px; border-radius: 8px;"> #42215C </div>
Related Colors of #42215C
These colors are similar to #42215C, with slight variations in hue. Use them to create harmonious designs or explore alternative shades for your projects.