In RGB color space, #4c1a8b hex color has a red value of 76, a green value of 26 and a blue value of 139.
In CMYK color space (used in color printing), #4c1a8b hex color is composed of 45.32% cyan, 81.29% magenta, 0% yellow and 45.49% black.
#4c1a8b color has a hue of 266.5 degrees, a saturation of 68.48% and a lightness of 32.4%.
#4c1a8b hex color contains mainly BLUE.
The closest web safe color of #4c1a8b is #333399
#4c1a8b hex color has a decimal value of 4987531.
HEX | 4c1a8b | #4c1a8b |
---|---|---|
RGB | 76, 26, 139 | rgb(76, 26, 139) |
RGB Percent | 29.8, 10.2, 54.51 | rgb(29.8, 10.2, 54.51) |
CMYK | 45, 81, 0, 45 | |
HSL | 266.5°, 68.48, 32.4 | hsl(266.5, 68.48%, 32.4%) |
HSV | 266.5°, 81.3, 54.5 |
XYZ | 8.01, 4.139, 24.803 |
---|---|
Hunter Lab | 20.345, 34.676, -58.042 |
CIE-LAB | 24.126, 46.258, -52.963 |
CIE-LCH | 24.126, 70.32, 311.134 |
CIE-LUV | 45.32, 81.29, 0, 45.49 |
Web Safe | 333399 |
RGB percent of color #4c1a8b
CMYK percent of color #4c1a8b
Text with hexadecimal color #4c1a8b
This text has a font color of #4c1a8b
<p style="color:#4c1a8b">Text here</p>
#4c1a8b Background Color
This box has a background color of #4c1a8b
<div style="background-color:#4c1a8b">Text here</div>
#4c1a8b Border Color
This box has a border color of #4c1a8b
<div style="border: 4px solid #4c1a8b">Text here</div>
CSS codes
<p style="color:#4c1a8b">Text here</p>
<div style="background-color:#4c1a8b">Text here</div>
<div style="border: 4px solid #4c1a8b">Text here</div>
#4c1a8b Color on white background
This is how a font and box color of #4c1a8b will look
on a white background.
#4c1a8b Color on black background
This is how a font and box color of #4c1a8b hex color will look
on a black background.