In RGB color space, #5f338b hex color has a red value of 95, a green value of 51 and a blue value of 139.
In CMYK color space (used in color printing), #5f338b hex color is composed of 31.65% cyan, 63.31% magenta, 0% yellow and 45.49% black.
#5f338b color has a hue of 270 degrees, a saturation of 46.32% and a lightness of 37.3%.
#5f338b hex color contains mainly BLUE.
The closest web safe color of #5f338b is #663399
#5f338b hex color has a decimal value of 6239115.
HEX | 5f338b | #5f338b |
---|---|---|
RGB | 95, 51, 139 | rgb(95, 51, 139) |
RGB Percent | 37.25, 20, 54.51 | rgb(37.25, 20, 54.51) |
CMYK | 32, 63, 0, 45 | |
HSL | 270°, 46.32, 37.3 | hsl(270, 46.32%, 37.3%) |
HSV | 270°, 63.3, 54.5 |
XYZ | 10.563, 6.665, 25.156 |
---|---|
Hunter Lab | 25.817, 27.855, -39.701 |
CIE-LAB | 31.032, 37.669, -41.633 |
CIE-LCH | 31.032, 56.145, 312.138 |
CIE-LUV | 31.65, 63.31, 0, 45.49 |
Web Safe | 663399 |
RGB percent of color #5f338b
CMYK percent of color #5f338b
Text with hexadecimal color #5f338b
This text has a font color of #5f338b
<p style="color:#5f338b">Text here</p>
#5f338b Background Color
This box has a background color of #5f338b
<div style="background-color:#5f338b">Text here</div>
#5f338b Border Color
This box has a border color of #5f338b
<div style="border: 4px solid #5f338b">Text here</div>
CSS codes
<p style="color:#5f338b">Text here</p>
<div style="background-color:#5f338b">Text here</div>
<div style="border: 4px solid #5f338b">Text here</div>
#5f338b Color on white background
This is how a font and box color of #5f338b will look
on a white background.
#5f338b Color on black background
This is how a font and box color of #5f338b hex color will look
on a black background.