In RGB color space, #4a1f7d hex color has a red value of 74, a green value of 31 and a blue value of 125.
In CMYK color space (used in color printing), #4a1f7d hex color is composed of 40.8% cyan, 75.2% magenta, 0% yellow and 50.98% black.
#4a1f7d color has a hue of 267.4 degrees, a saturation of 60.26% and a lightness of 30.6%.
#4a1f7d hex color contains mainly BLUE.
The closest web safe color of #4a1f7d is #333366
#4a1f7d hex color has a decimal value of 4857725.
HEX | 4a1f7d | #4a1f7d |
---|---|---|
RGB | 74, 31, 125 | rgb(74, 31, 125) |
RGB Percent | 29.02, 12.16, 49.02 | rgb(29.02, 12.16, 49.02) |
CMYK | 41, 75, 0, 51 | |
HSL | 267.4°, 60.26, 30.6 | hsl(267.4, 60.26%, 30.6%) |
HSV | 267.4°, 75.2, 49 |
XYZ | 7.016, 3.916, 19.788 |
---|---|
Hunter Lab | 19.789, 28.655, -45.435 |
CIE-LAB | 23.392, 39.951, -45.369 |
CIE-LCH | 23.392, 60.452, 311.366 |
CIE-LUV | 40.8, 75.2, 0, 50.98 |
Web Safe | 333366 |
RGB percent of color #4a1f7d
CMYK percent of color #4a1f7d
Text with hexadecimal color #4a1f7d
This text has a font color of #4a1f7d
<p style="color:#4a1f7d">Text here</p>
#4a1f7d Background Color
This box has a background color of #4a1f7d
<div style="background-color:#4a1f7d">Text here</div>
#4a1f7d Border Color
This box has a border color of #4a1f7d
<div style="border: 4px solid #4a1f7d">Text here</div>
CSS codes
<p style="color:#4a1f7d">Text here</p>
<div style="background-color:#4a1f7d">Text here</div>
<div style="border: 4px solid #4a1f7d">Text here</div>
#4a1f7d Color on white background
This is how a font and box color of #4a1f7d will look
on a white background.
#4a1f7d Color on black background
This is how a font and box color of #4a1f7d hex color will look
on a black background.