In RGB color space, #5b45a1 hex color has a red value of 91, a green value of 69 and a blue value of 161.
In CMYK color space (used in color printing), #5b45a1 hex color is composed of 43.48% cyan, 57.14% magenta, 0% yellow and 36.86% black.
#5b45a1 color has a hue of 254.3 degrees, a saturation of 40% and a lightness of 45.1%.
#5b45a1 hex color contains mainly BLUE.
The closest web safe color of #5b45a1 is #663399
#5b45a1 hex color has a decimal value of 5981601.
HEX | 5b45a1 | #5b45a1 |
---|---|---|
RGB | 91, 69, 161 | rgb(91, 69, 161) |
RGB Percent | 35.69, 27.06, 63.14 | rgb(35.69, 27.06, 63.14) |
CMYK | 43, 57, 0, 37 | |
HSL | 254.3°, 40, 45.1 | hsl(254.3, 40%, 45.1%) |
HSV | 254.3°, 57.1, 63.1 |
XYZ | 12.876, 9.054, 34.787 |
---|---|
Hunter Lab | 30.09, 23.726, -47.482 |
CIE-LAB | 36.088, 32.276, -46.918 |
CIE-LCH | 36.088, 56.948, 304.525 |
CIE-LUV | 43.48, 57.14, 0, 36.86 |
Web Safe | 663399 |
RGB percent of color #5b45a1
CMYK percent of color #5b45a1
Text with hexadecimal color #5b45a1
This text has a font color of #5b45a1
<p style="color:#5b45a1">Text here</p>
#5b45a1 Background Color
This box has a background color of #5b45a1
<div style="background-color:#5b45a1">Text here</div>
#5b45a1 Border Color
This box has a border color of #5b45a1
<div style="border: 4px solid #5b45a1">Text here</div>
CSS codes
<p style="color:#5b45a1">Text here</p>
<div style="background-color:#5b45a1">Text here</div>
<div style="border: 4px solid #5b45a1">Text here</div>
#5b45a1 Color on white background
This is how a font and box color of #5b45a1 will look
on a white background.
#5b45a1 Color on black background
This is how a font and box color of #5b45a1 hex color will look
on a black background.