In RGB color space, #4d1f8a hex color has a red value of 77, a green value of 31 and a blue value of 138.
In CMYK color space (used in color printing), #4d1f8a hex color is composed of 44.2% cyan, 77.54% magenta, 0% yellow and 45.88% black.
#4d1f8a color has a hue of 265.8 degrees, a saturation of 63.31% and a lightness of 33.1%.
#4d1f8a hex color contains mainly BLUE.
The closest web safe color of #4d1f8a is #663399
#4d1f8a hex color has a decimal value of 5054346.
HEX | 4d1f8a | #4d1f8a |
---|---|---|
RGB | 77, 31, 138 | rgb(77, 31, 138) |
RGB Percent | 30.2, 12.16, 54.12 | rgb(30.2, 12.16, 54.12) |
CMYK | 44, 78, 0, 46 | |
HSL | 265.8°, 63.31, 33.1 | hsl(265.8, 63.31%, 33.1%) |
HSV | 265.8°, 77.5, 54.1 |
XYZ | 8.138, 4.393, 24.464 |
---|---|
Hunter Lab | 20.959, 32.628, -54.532 |
CIE-LAB | 24.93, 43.952, -51.017 |
CIE-LCH | 24.93, 67.339, 310.745 |
CIE-LUV | 44.2, 77.54, 0, 45.88 |
Web Safe | 663399 |
RGB percent of color #4d1f8a
CMYK percent of color #4d1f8a
Text with hexadecimal color #4d1f8a
This text has a font color of #4d1f8a
<p style="color:#4d1f8a">Text here</p>
#4d1f8a Background Color
This box has a background color of #4d1f8a
<div style="background-color:#4d1f8a">Text here</div>
#4d1f8a Border Color
This box has a border color of #4d1f8a
<div style="border: 4px solid #4d1f8a">Text here</div>
CSS codes
<p style="color:#4d1f8a">Text here</p>
<div style="background-color:#4d1f8a">Text here</div>
<div style="border: 4px solid #4d1f8a">Text here</div>
#4d1f8a Color on white background
This is how a font and box color of #4d1f8a will look
on a white background.
#4d1f8a Color on black background
This is how a font and box color of #4d1f8a hex color will look
on a black background.