In RGB color space, #5f407b hex color has a red value of 95, a green value of 64 and a blue value of 123.
In CMYK color space (used in color printing), #5f407b hex color is composed of 22.76% cyan, 47.97% magenta, 0% yellow and 51.76% black.
#5f407b color has a hue of 271.5 degrees, a saturation of 31.55% and a lightness of 36.7%.
#5f407b hex color contains mainly BLUE.
The closest web safe color of #5f407b is #663366
#5f407b hex color has a decimal value of 6242427.
HEX | 5f407b | #5f407b |
---|---|---|
RGB | 95, 64, 123 | rgb(95, 64, 123) |
RGB Percent | 37.25, 25.1, 48.24 | rgb(37.25, 25.1, 48.24) |
CMYK | 23, 48, 0, 52 | |
HSL | 271.5°, 31.55, 36.7 | hsl(271.5, 31.55%, 36.7%) |
HSV | 271.5°, 48, 48.2 |
XYZ | 10.128, 7.53, 19.658 |
---|---|
Hunter Lab | 27.441, 17.86, -23.265 |
CIE-LAB | 32.984, 25.907, -28.582 |
CIE-LCH | 32.984, 38.576, 312.189 |
CIE-LUV | 22.76, 47.97, 0, 51.76 |
Web Safe | 663366 |
RGB percent of color #5f407b
CMYK percent of color #5f407b
Text with hexadecimal color #5f407b
This text has a font color of #5f407b
<p style="color:#5f407b">Text here</p>
#5f407b Background Color
This box has a background color of #5f407b
<div style="background-color:#5f407b">Text here</div>
#5f407b Border Color
This box has a border color of #5f407b
<div style="border: 4px solid #5f407b">Text here</div>
CSS codes
<p style="color:#5f407b">Text here</p>
<div style="background-color:#5f407b">Text here</div>
<div style="border: 4px solid #5f407b">Text here</div>
#5f407b Color on white background
This is how a font and box color of #5f407b will look
on a white background.
#5f407b Color on black background
This is how a font and box color of #5f407b hex color will look
on a black background.