Color: #5842FA
#5842FA Color Information
#5842FA is a dark color. The closest websafe version is #5842FA. A complement of this color would be #E5FA42, perceived brightness is 0.37, and the grayscale version is #9E9E9E.
In the HSL color space, this color has a hue angle of 247°,a saturation of 95%, and a lightness of 62%.The HSV representation shows a hue of 247°, a saturation of 74%, and a value of 98%.
In a RGB color space, #5842FA is composed of 35% red, 26% green and 98% blue. Whereas in a CMYK color space, it is composed of 65% cyan, 74% magenta, 0% yellow and 2% black.
In the Yxy color space, this color is represented as Y: 11.87, x: 0.1986, and y: 0.1177.
Color Code #5842FA
Shades of Color #5842FA
Shades are created by darkening the original color #5842FA 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 #5842FA
Tints are created by lightening the original color #5842FA 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 #5842FA Color Code
In the HSL color space, this color has a hue angle of 247°, a saturation of 95%, and a lightness of 62%. The HSV representation shows a hue of 247°, a saturation of 74%, and a value of 98%.
- HEX: #5842FA
- RGB: rgb(88, 66, 250)
- HSL: hsl(247, 95%, 62%)
- HSV: hsv(247, 74%, 98%)
- CMYK: 65.00% cyan, 74.00% magenta, 0.00% yellow, 2.00% black
- XYZ: 20.03, 11.87, 68.94
- Yxy: 11.87, 0.1986, 0.1177
- Hunter Lab: 41.01, 50.39, -90.07
- CIE-Lab: 41.01, 50.39, -90.07
In the XYZ color space, this color is represented as X: 20.03, Y: 11.87, Z: 68.94. The Yxy representation further refines this as Y: 11.87, x: 0.1986, and y: 0.1177.
In the Hunter Lab color space, this color is represented as L: 41.01, a: 50.39, and b: -90.07. Similarly, in the CIE-Lab color space, it is represented as L: 41.01, a: 50.39, and b: -90.07.
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 #5842FA
Triadic colors are three colors evenly spaced around the color wheel, including #5842FA. They create vibrant and balanced color schemes, perfect for designs that need contrast and harmony.
Split Complementary Colors of #5842FA
Split complementary colors are two colors adjacent to the complementary color of #5842FA. They create a balanced and visually appealing color scheme.
Monochromatic Colors of #5842FA
Monochromatic colors are variations of #5842FA, including its shades, tints, and tones. They create elegant and minimalistic designs with a unified color theme.
Complementary Color of #5842FA
The complementary color of #5842FA 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 #5842FA
/* Using HEX */ body { background-color: #5842fa; }
/* Using RGB */ body { background-color: rgb(88, 66, 250); }
/* Using RGB with opacity */ body { background-color: rgba(88, 66, 250, 0.5); }
/* Using HSL */ body { background-color: hsl(247, 95%, 62%); }
/* Text color */ p { color: #5842fa; }
/* Box shadow */ div { box-shadow: 4px 4px #5842fa; }
/* Border color */ .box { border: 4px solid #5842fa; }
/* Text shadow */ h1 { color: #222; text-shadow: 2px 2px 0 #5842fa; }
/* Background with text */ div { background: #5842fa; color: #fff; padding: 16px; border-radius: 8px; }
HTML Examples of #5842FA
<!-- Using HEX --> <div style="background-color: #5842fa; width: 100px; height: 100px;"></div>
<!-- Using RGB --> <div style="background-color: rgb(88, 66, 250); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity --> <div style="background-color: rgba(88, 66, 250, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL --> <div style="background-color: hsl(247, 95%, 62%); width: 100px; height: 100px;"></div>
<!-- Text color --> <p style="color: #5842fa;">This is a text example.</p>
<!-- Box shadow --> <div style="box-shadow: 4px 4px #5842fa; width: 100px; height: 100px;"></div>
<!-- Border color --> <div style="border: 4px solid #5842fa; width: 100px; height: 100px;"></div>
<!-- Text shadow --> <h1 style="color: #222; text-shadow: 2px 2px 0 #5842fa;">Text Shadow Preview</h1>
<!-- Background with text --> <div style="background: #5842fa; color: #fff; padding: 16px; border-radius: 8px;"> #5842FA </div>
Related Colors of #5842FA
These colors are similar to #5842FA, with slight variations in hue. Use them to create harmonious designs or explore alternative shades for your projects.