In RGB color space, #4a1f9d hex color has a red value of 74, a green value of 31 and a blue value of 157.
In CMYK color space (used in color printing), #4a1f9d hex color is composed of 52.87% cyan, 80.25% magenta, 0% yellow and 38.43% black.
#4a1f9d color has a hue of 260.5 degrees, a saturation of 67.02% and a lightness of 36.9%.
#4a1f9d hex color contains mainly BLUE.
The closest web safe color of #4a1f9d is #333399
#4a1f9d hex color has a decimal value of 4857757.
HEX | 4a1f9d | #4a1f9d |
---|---|---|
RGB | 74, 31, 157 | rgb(74, 31, 157) |
RGB Percent | 29.02, 12.16, 61.57 | rgb(29.02, 12.16, 61.57) |
CMYK | 53, 80, 0, 38 | |
HSL | 260.5°, 67.02, 36.9 | hsl(260.5, 67.02%, 36.9%) |
HSV | 260.5°, 80.3, 61.6 |
XYZ | 9.4, 4.87, 32.343 |
---|---|
Hunter Lab | 22.068, 37.414, -71.448 |
CIE-LAB | 26.361, 48.633, -60.409 |
CIE-LCH | 26.361, 77.553, 308.836 |
CIE-LUV | 52.87, 80.25, 0, 38.43 |
Web Safe | 333399 |
RGB percent of color #4a1f9d
CMYK percent of color #4a1f9d
Text with hexadecimal color #4a1f9d
This text has a font color of #4a1f9d
<p style="color:#4a1f9d">Text here</p>
#4a1f9d Background Color
This box has a background color of #4a1f9d
<div style="background-color:#4a1f9d">Text here</div>
#4a1f9d Border Color
This box has a border color of #4a1f9d
<div style="border: 4px solid #4a1f9d">Text here</div>
CSS codes
<p style="color:#4a1f9d">Text here</p>
<div style="background-color:#4a1f9d">Text here</div>
<div style="border: 4px solid #4a1f9d">Text here</div>
#4a1f9d Color on white background
This is how a font and box color of #4a1f9d will look
on a white background.
#4a1f9d Color on black background
This is how a font and box color of #4a1f9d hex color will look
on a black background.