In RGB color space, #5f238a hex color has a red value of 95, a green value of 35 and a blue value of 138.
In CMYK color space (used in color printing), #5f238a hex color is composed of 31.16% cyan, 74.64% magenta, 0% yellow and 45.88% black.
#5f238a color has a hue of 275 degrees, a saturation of 59.54% and a lightness of 33.9%.
#5f238a hex color contains mainly BLUE.
The closest web safe color of #5f238a is #663399
#5f238a hex color has a decimal value of 6235018.
HEX | 5f238a | #5f238a |
---|---|---|
RGB | 95, 35, 138 | rgb(95, 35, 138) |
RGB Percent | 37.25, 13.73, 54.12 | rgb(37.25, 13.73, 54.12) |
CMYK | 31, 75, 0, 46 | |
HSL | 275°, 59.54, 33.9 | hsl(275, 59.54%, 33.9%) |
HSV | 275°, 74.6, 54.1 |
XYZ | 9.908, 5.47, 24.578 |
---|---|
Hunter Lab | 23.388, 34.69, -45.935 |
CIE-LAB | 28.034, 45.515, -45.855 |
CIE-LCH | 28.034, 64.609, 314.787 |
CIE-LUV | 31.16, 74.64, 0, 45.88 |
Web Safe | 663399 |
RGB percent of color #5f238a
CMYK percent of color #5f238a
Text with hexadecimal color #5f238a
This text has a font color of #5f238a
<p style="color:#5f238a">Text here</p>
#5f238a Background Color
This box has a background color of #5f238a
<div style="background-color:#5f238a">Text here</div>
#5f238a Border Color
This box has a border color of #5f238a
<div style="border: 4px solid #5f238a">Text here</div>
CSS codes
<p style="color:#5f238a">Text here</p>
<div style="background-color:#5f238a">Text here</div>
<div style="border: 4px solid #5f238a">Text here</div>
#5f238a Color on white background
This is how a font and box color of #5f238a will look
on a white background.
#5f238a Color on black background
This is how a font and box color of #5f238a hex color will look
on a black background.