Color: #642B9C
#642B9C Color Information
#642B9C is a dark color. The closest websafe version is #642B9C. A complement of this color would be #639C2B, perceived brightness is 0.29, and the grayscale version is #646464.
In the HSL color space, this color has a hue angle of 270°,a saturation of 57%, and a lightness of 39%.The HSV representation shows a hue of 270°, a saturation of 72%, and a value of 61%.
In a RGB color space, #642B9C is composed of 39% red, 17% green and 61% blue. Whereas in a CMYK color space, it is composed of 36% cyan, 72% magenta, 0% yellow and 39% black.
In the Yxy color space, this color is represented as Y: 6.58, x: 0.2678, and y: 0.1568.
Color Code #642B9C
Shades of Color #642B9C
Shades are created by darkening the original color #642B9C 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 #642B9C
Tints are created by lightening the original color #642B9C 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 #642B9C Color Code
In the HSL color space, this color has a hue angle of 270°, a saturation of 57%, and a lightness of 39%. The HSV representation shows a hue of 270°, a saturation of 72%, and a value of 61%.
- HEX: #642B9C
- RGB: rgb(100, 43, 156)
- HSL: hsl(270, 57%, 39%)
- HSV: hsv(270, 72%, 61%)
- CMYK: 36.00% cyan, 72.00% magenta, 0.00% yellow, 39.00% black
- XYZ: 11.24, 6.58, 24.15
- Yxy: 6.58, 0.2678, 0.1568
- Hunter Lab: 30.84, 42.40, -52.04
- CIE-Lab: 30.84, 42.40, -52.04
In the XYZ color space, this color is represented as X: 11.24, Y: 6.58, Z: 24.15. The Yxy representation further refines this as Y: 6.58, x: 0.2678, and y: 0.1568.
In the Hunter Lab color space, this color is represented as L: 30.84, a: 42.40, and b: -52.04. Similarly, in the CIE-Lab color space, it is represented as L: 30.84, a: 42.40, and b: -52.04.
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 #642B9C
Triadic colors are three colors evenly spaced around the color wheel, including #642B9C. They create vibrant and balanced color schemes, perfect for designs that need contrast and harmony.
Monochromatic Colors of #642B9C
Monochromatic colors are variations of #642B9C, including its shades, tints, and tones. They create elegant and minimalistic designs with a unified color theme.
Complementary Color of #642B9C
The complementary color of #642B9C 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 #642B9C
/* Using HEX */ body { background-color: #642b9c; }
/* Using RGB */ body { background-color: rgb(100, 43, 156); }
/* Using RGB with opacity */ body { background-color: rgba(100, 43, 156, 0.5); }
/* Using HSL */ body { background-color: hsl(270, 57%, 39%); }
/* Text color */ p { color: #642b9c; }
/* Box shadow */ div { box-shadow: 4px 4px #642b9c; }
/* Border color */ .box { border: 4px solid #642b9c; }
/* Text shadow */ h1 { color: #222; text-shadow: 2px 2px 0 #642b9c; }
/* Background with text */ div { background: #642b9c; color: #fff; padding: 16px; border-radius: 8px; }
HTML Examples of #642B9C
<!-- Using HEX --> <div style="background-color: #642b9c; width: 100px; height: 100px;"></div>
<!-- Using RGB --> <div style="background-color: rgb(100, 43, 156); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity --> <div style="background-color: rgba(100, 43, 156, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL --> <div style="background-color: hsl(270, 57%, 39%); width: 100px; height: 100px;"></div>
<!-- Text color --> <p style="color: #642b9c;">This is a text example.</p>
<!-- Box shadow --> <div style="box-shadow: 4px 4px #642b9c; width: 100px; height: 100px;"></div>
<!-- Border color --> <div style="border: 4px solid #642b9c; width: 100px; height: 100px;"></div>
<!-- Text shadow --> <h1 style="color: #222; text-shadow: 2px 2px 0 #642b9c;">Text Shadow Preview</h1>
<!-- Background with text --> <div style="background: #642b9c; color: #fff; padding: 16px; border-radius: 8px;"> #642B9C </div>
Related Colors of #642B9C
These colors are similar to #642B9C, with slight variations in hue. Use them to create harmonious designs or explore alternative shades for your projects.