In RGB color space, #2a1277 hex color has a red value of 42, a green value of 18 and a blue value of 119.
In CMYK color space (used in color printing), #2a1277 hex color is composed of 64.71% cyan, 84.87% magenta, 0% yellow and 53.33% black.
#2a1277 color has a hue of 254.3 degrees, a saturation of 73.72% and a lightness of 26.9%.
#2a1277 hex color contains mainly BLUE.
The closest web safe color of #2a1277 is #330066
#2a1277 hex color has a decimal value of 2757239.
HEX | 2a1277 | #2a1277 |
---|---|---|
RGB | 42, 18, 119 | rgb(42, 18, 119) |
RGB Percent | 16.47, 7.06, 46.67 | rgb(16.47, 7.06, 46.67) |
CMYK | 65, 85, 0, 53 | |
HSL | 254.3°, 73.72, 26.9 | hsl(254.3, 73.72%, 26.9%) |
HSV | 254.3°, 84.9, 46.7 |
XYZ | 4.501, 2.257, 17.651 |
---|---|
Hunter Lab | 15.023, 27.188, -59.144 |
CIE-LAB | 16.782, 39.593, -52.531 |
CIE-LCH | 16.782, 65.781, 307.006 |
CIE-LUV | 64.71, 84.87, 0, 53.33 |
Web Safe | 330066 |
RGB percent of color #2a1277
CMYK percent of color #2a1277
Text with hexadecimal color #2a1277
This text has a font color of #2a1277
<p style="color:#2a1277">Text here</p>
#2a1277 Background Color
This box has a background color of #2a1277
<div style="background-color:#2a1277">Text here</div>
#2a1277 Border Color
This box has a border color of #2a1277
<div style="border: 4px solid #2a1277">Text here</div>
CSS codes
<p style="color:#2a1277">Text here</p>
<div style="background-color:#2a1277">Text here</div>
<div style="border: 4px solid #2a1277">Text here</div>
#2a1277 Color on white background
This is how a font and box color of #2a1277 will look
on a white background.
#2a1277 Color on black background
This is how a font and box color of #2a1277 hex color will look
on a black background.