In RGB color space, #5a2796 hex color has a red value of 90, a green value of 39 and a blue value of 150.
In CMYK color space (used in color printing), #5a2796 hex color is composed of 40% cyan, 74% magenta, 0% yellow and 41.18% black.
#5a2796 color has a hue of 267.6 degrees, a saturation of 58.73% and a lightness of 37.1%.
#5a2796 hex color contains mainly BLUE.
The closest web safe color of #5a2796 is #663399
#5a2796 hex color has a decimal value of 5908374.
HEX | 5a2796 | #5a2796 |
---|---|---|
RGB | 90, 39, 150 | rgb(90, 39, 150) |
RGB Percent | 35.29, 15.29, 58.82 | rgb(35.29, 15.29, 58.82) |
CMYK | 40, 74, 0, 41 | |
HSL | 267.6°, 58.73, 37.1 | hsl(267.6, 58.73%, 37.1%) |
HSV | 267.6°, 74, 58.8 |
XYZ | 10.447, 5.827, 29.428 |
---|---|
Hunter Lab | 24.139, 35.008, -55.383 |
CIE-LAB | 28.972, 45.665, -51.772 |
CIE-LCH | 28.972, 69.034, 311.414 |
CIE-LUV | 40, 74, 0, 41.18 |
Web Safe | 663399 |
RGB percent of color #5a2796
CMYK percent of color #5a2796
Text with hexadecimal color #5a2796
This text has a font color of #5a2796
<p style="color:#5a2796">Text here</p>
#5a2796 Background Color
This box has a background color of #5a2796
<div style="background-color:#5a2796">Text here</div>
#5a2796 Border Color
This box has a border color of #5a2796
<div style="border: 4px solid #5a2796">Text here</div>
CSS codes
<p style="color:#5a2796">Text here</p>
<div style="background-color:#5a2796">Text here</div>
<div style="border: 4px solid #5a2796">Text here</div>
#5a2796 Color on white background
This is how a font and box color of #5a2796 will look
on a white background.
#5a2796 Color on black background
This is how a font and box color of #5a2796 hex color will look
on a black background.