In RGB color space, #4d1f9d hex color has a red value of 77, a green value of 31 and a blue value of 157.
In CMYK color space (used in color printing), #4d1f9d hex color is composed of 50.96% cyan, 80.25% magenta, 0% yellow and 38.43% black.
#4d1f9d color has a hue of 261.9 degrees, a saturation of 67.02% and a lightness of 36.9%.
#4d1f9d hex color contains mainly BLUE.
The closest web safe color of #4d1f9d is #663399
#4d1f9d hex color has a decimal value of 5054365.
HEX | 4d1f9d | #4d1f9d |
---|---|---|
RGB | 77, 31, 157 | rgb(77, 31, 157) |
RGB Percent | 30.2, 12.16, 61.57 | rgb(30.2, 12.16, 61.57) |
CMYK | 51, 80, 0, 38 | |
HSL | 261.9°, 67.02, 36.9 | hsl(261.9, 67.02%, 36.9%) |
HSV | 261.9°, 80.3, 61.6 |
XYZ | 9.636, 4.992, 32.354 |
---|---|
Hunter Lab | 22.343, 37.884, -70.216 |
CIE-LAB | 26.712, 49.04, -59.819 |
CIE-LCH | 26.712, 77.351, 309.345 |
CIE-LUV | 50.96, 80.25, 0, 38.43 |
Web Safe | 663399 |
RGB percent of color #4d1f9d
CMYK percent of color #4d1f9d
Text with hexadecimal color #4d1f9d
This text has a font color of #4d1f9d
<p style="color:#4d1f9d">Text here</p>
#4d1f9d Background Color
This box has a background color of #4d1f9d
<div style="background-color:#4d1f9d">Text here</div>
#4d1f9d Border Color
This box has a border color of #4d1f9d
<div style="border: 4px solid #4d1f9d">Text here</div>
CSS codes
<p style="color:#4d1f9d">Text here</p>
<div style="background-color:#4d1f9d">Text here</div>
<div style="border: 4px solid #4d1f9d">Text here</div>
#4d1f9d Color on white background
This is how a font and box color of #4d1f9d will look
on a white background.
#4d1f9d Color on black background
This is how a font and box color of #4d1f9d hex color will look
on a black background.