In RGB color space, #540ea7 hex color has a red value of 84, a green value of 14 and a blue value of 167.
In CMYK color space (used in color printing), #540ea7 hex color is composed of 49.7% cyan, 91.62% magenta, 0% yellow and 34.51% black.
#540ea7 color has a hue of 267.5 degrees, a saturation of 84.53% and a lightness of 35.5%.
#540ea7 hex color contains mainly BLUE.
The closest web safe color of #540ea7 is #660099
#540ea7 hex color has a decimal value of 5508775.
HEX | 540ea7 | #540ea7 |
---|---|---|
RGB | 84, 14, 167 | rgb(84, 14, 167) |
RGB Percent | 32.94, 5.49, 65.49 | rgb(32.94, 5.49, 65.49) |
CMYK | 50, 92, 0, 35 | |
HSL | 267.5°, 84.53, 35.5 | hsl(267.5, 84.53%, 35.5%) |
HSV | 267.5°, 91.6, 65.5 |
XYZ | 10.788, 4.989, 36.954 |
---|---|
Hunter Lab | 22.336, 47.125, -82.457 |
CIE-LAB | 26.703, 58.02, -65.881 |
CIE-LCH | 26.703, 87.787, 311.37 |
CIE-LUV | 49.7, 91.62, 0, 34.51 |
Web Safe | 660099 |
RGB percent of color #540ea7
CMYK percent of color #540ea7
Text with hexadecimal color #540ea7
This text has a font color of #540ea7
<p style="color:#540ea7">Text here</p>
#540ea7 Background Color
This box has a background color of #540ea7
<div style="background-color:#540ea7">Text here</div>
#540ea7 Border Color
This box has a border color of #540ea7
<div style="border: 4px solid #540ea7">Text here</div>
CSS codes
<p style="color:#540ea7">Text here</p>
<div style="background-color:#540ea7">Text here</div>
<div style="border: 4px solid #540ea7">Text here</div>
#540ea7 Color on white background
This is how a font and box color of #540ea7 will look
on a white background.
#540ea7 Color on black background
This is how a font and box color of #540ea7 hex color will look
on a black background.