In RGB color space, #a540f2 hex color has a red value of 165, a green value of 64 and a blue value of 242.
In CMYK color space (used in color printing), #a540f2 hex color is composed of 31.82% cyan, 73.55% magenta, 0% yellow and 5.1% black.
#a540f2 color has a hue of 274 degrees, a saturation of 87.25% and a lightness of 60%.
#a540f2 hex color contains mainly BLUE.
The closest web safe color of #a540f2 is #9933ff
#a540f2 hex color has a decimal value of 10830066.
HEX | a540f2 | #a540f2 |
---|---|---|
RGB | 165, 64, 242 | rgb(165, 64, 242) |
RGB Percent | 64.71, 25.1, 94.9 | rgb(64.71, 25.1, 94.9) |
CMYK | 32, 74, 0, 5 | |
HSL | 274°, 87.25, 60 | hsl(274, 87.25%, 60%) |
HSV | 274°, 73.6, 94.9 |
XYZ | 33.377, 18.077, 85.734 |
---|---|
Hunter Lab | 42.517, 65.722, -89.794 |
CIE-LAB | 49.589, 70.042, -71.598 |
CIE-LCH | 49.589, 100.161, 314.371 |
CIE-LUV | 31.82, 73.55, 0, 5.1 |
Web Safe | 9933ff |
RGB percent of color #a540f2
CMYK percent of color #a540f2
Text with hexadecimal color #a540f2
This text has a font color of #a540f2
<p style="color:#a540f2">Text here</p>
#a540f2 Background Color
This box has a background color of #a540f2
<div style="background-color:#a540f2">Text here</div>
#a540f2 Border Color
This box has a border color of #a540f2
<div style="border: 4px solid #a540f2">Text here</div>
CSS codes
<p style="color:#a540f2">Text here</p>
<div style="background-color:#a540f2">Text here</div>
<div style="border: 4px solid #a540f2">Text here</div>
#a540f2 Color on white background
This is how a font and box color of #a540f2 will look
on a white background.
#a540f2 Color on black background
This is how a font and box color of #a540f2 hex color will look
on a black background.