In RGB color space, #5f5fa1 hex color has a red value of 95, a green value of 95 and a blue value of 161.
In CMYK color space (used in color printing), #5f5fa1 hex color is composed of 40.99% cyan, 40.99% magenta, 0% yellow and 36.86% black.
#5f5fa1 color has a hue of 240 degrees, a saturation of 25.98% and a lightness of 50.2%.
#5f5fa1 hex color contains mainly BLUE.
The closest web safe color of #5f5fa1 is #666699
#5f5fa1 hex color has a decimal value of 6250401.
HEX | 5f5fa1 | #5f5fa1 |
---|---|---|
RGB | 95, 95, 161 | rgb(95, 95, 161) |
RGB Percent | 37.25, 37.25, 63.14 | rgb(37.25, 37.25, 63.14) |
CMYK | 41, 41, 0, 37 | |
HSL | 240°, 25.98, 50.2 | hsl(240, 25.98%, 50.2%) |
HSV | 240°, 41, 63.1 |
XYZ | 15.245, 13.191, 35.461 |
---|---|
Hunter Lab | 36.319, 11.366, -32.465 |
CIE-LAB | 43.05, 17.14, -35.793 |
CIE-LCH | 43.05, 39.685, 295.588 |
CIE-LUV | 40.99, 40.99, 0, 36.86 |
Web Safe | 666699 |
RGB percent of color #5f5fa1
CMYK percent of color #5f5fa1
Text with hexadecimal color #5f5fa1
This text has a font color of #5f5fa1
<p style="color:#5f5fa1">Text here</p>
#5f5fa1 Background Color
This box has a background color of #5f5fa1
<div style="background-color:#5f5fa1">Text here</div>
#5f5fa1 Border Color
This box has a border color of #5f5fa1
<div style="border: 4px solid #5f5fa1">Text here</div>
CSS codes
<p style="color:#5f5fa1">Text here</p>
<div style="background-color:#5f5fa1">Text here</div>
<div style="border: 4px solid #5f5fa1">Text here</div>
#5f5fa1 Color on white background
This is how a font and box color of #5f5fa1 will look
on a white background.
#5f5fa1 Color on black background
This is how a font and box color of #5f5fa1 hex color will look
on a black background.