In RGB color space, #540fa7 hex color has a red value of 84, a green value of 15 and a blue value of 167.
In CMYK color space (used in color printing), #540fa7 hex color is composed of 49.7% cyan, 91.02% magenta, 0% yellow and 34.51% black.
#540fa7 color has a hue of 267.2 degrees, a saturation of 83.52% and a lightness of 35.7%.
#540fa7 hex color contains mainly BLUE.
The closest web safe color of #540fa7 is #660099
#540fa7 hex color has a decimal value of 5509031.
HEX | 540fa7 | #540fa7 |
---|---|---|
RGB | 84, 15, 167 | rgb(84, 15, 167) |
RGB Percent | 32.94, 5.88, 65.49 | rgb(32.94, 5.88, 65.49) |
CMYK | 50, 91, 0, 35 | |
HSL | 267.2°, 83.52, 35.7 | hsl(267.2, 83.52%, 35.7%) |
HSV | 267.2°, 91, 65.5 |
XYZ | 10.802, 5.016, 36.958 |
---|---|
Hunter Lab | 22.396, 46.898, -82.161 |
CIE-LAB | 26.78, 57.793, -65.753 |
CIE-LCH | 26.78, 87.541, 311.314 |
CIE-LUV | 49.7, 91.02, 0, 34.51 |
Web Safe | 660099 |
RGB percent of color #540fa7
CMYK percent of color #540fa7
Text with hexadecimal color #540fa7
This text has a font color of #540fa7
<p style="color:#540fa7">Text here</p>
#540fa7 Background Color
This box has a background color of #540fa7
<div style="background-color:#540fa7">Text here</div>
#540fa7 Border Color
This box has a border color of #540fa7
<div style="border: 4px solid #540fa7">Text here</div>
CSS codes
<p style="color:#540fa7">Text here</p>
<div style="background-color:#540fa7">Text here</div>
<div style="border: 4px solid #540fa7">Text here</div>
#540fa7 Color on white background
This is how a font and box color of #540fa7 will look
on a white background.
#540fa7 Color on black background
This is how a font and box color of #540fa7 hex color will look
on a black background.