#540cec Color Information
In a RGB color space, hex #540cec is composed of 32.9% red, 4.7% green and 92.5% blue. Whereas in a CMYK color space, it is composed of 64.4% cyan, 94.9% magenta, 0% yellow and 7.5% black. It has a hue angle of 259.3 degrees, a saturation of 90.3% and a lightness of 48.6%. #540cec color hex could be obtained by blending #a818ff with #0000d9. Closest websafe color is: #6600ff.
-
- R 33
- G 5
- B 93
-
- C 64
- M 95
- Y 0
- K 7
● #540cec color description : Vivid violet.
#540cec Color Conversion
The hexadecimal color #540cec has RGB values of R:84, G:12, B:236 and CMYK values of C:0.64, M:0.95, Y:0, K:0.07. Its decimal value is 5508332.
Hex triplet | 540cec | #540cec |
---|---|---|
RGB Decimal | 84, 12, 236 | rgb(84,12,236) |
RGB Percent | 32.9, 4.7, 92.5 | rgb(32.9%,4.7%,92.5%) |
CMYK | 64, 95, 0, 7 | |
HSL | 259.3°, 90.3, 48.6 | hsl(259.3,90.3%,48.6%) |
HSV (or HSB) | 259.3°, 94.9, 92.5 | |
Web Safe | 6600ff | #6600ff |
CIE-LAB | 34.402, 74.717, -93.524 |
---|---|
XYZ | 18.925, 8.203, 79.938 |
xyY | 0.177, 0.077, 8.203 |
CIE-LCH | 34.402, 119.705, 308.622 |
CIE-LUV | 34.402, 0.196, -122.971 |
Hunter-Lab | 28.641, 67.825, -145.431 |
Binary | 01010100, 00001100, 11101100 |
Color Schemes with #540cec
Alternatives to #540cec
Below, you can see some colors close to #540cec. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#540cec Preview
This text has a font color of #540cec.
<span style="color:#540cec;">Text here</span>
This paragraph has a background color of #540cec.
<p style="background-color:#540cec;">Content here</p>
This element has a border color of #540cec.
<div style="border:1px solid #540cec;">Content here</div>
.text {color:#540cec;}
.background {background-color:#540cec;}
.border {border:1px solid #540cec;}
Shades and Tints of #540cec
A shade is achieved by adding black to any pure hue, while a tint is created by mixing white to any pure color. In this example, #04010c is the darkest color, while #faf8ff is the lightest one.
-
#04010c
#04010c
rgb(4,1,12)
-
#0b021f
#0b021f
rgb(11,2,31)
-
#120331
#120331
rgb(18,3,49)
-
#180344
#180344
rgb(24,3,68)
-
#1f0457
#1f0457
rgb(31,4,87)
-
#250569
#250569
rgb(37,5,105)
-
#2c067c
#2c067c
rgb(44,6,124)
-
#33078f
#33078f
rgb(51,7,143)
-
#3908a1
#3908a1
rgb(57,8,161)
-
#4009b4
#4009b4
rgb(64,9,180)
-
#470ac7
#470ac7
rgb(71,10,199)
-
#4d0bd9
#4d0bd9
rgb(77,11,217)
-
#540cec
#540cec
rgb(84,12,236)
-
#5f18f3
#5f18f3
rgb(95,24,243)
-
#6c2bf4
#6c2bf4
rgb(108,43,244)
-
#793ef5
#793ef5
rgb(121,62,245)
-
#8650f6
#8650f6
rgb(134,80,246)
-
#9363f7
#9363f7
rgb(147,99,247)
-
#a076f8
#a076f8
rgb(160,118,248)
-
#ad88f9
#ad88f9
rgb(173,136,249)
-
#ba9bfa
#ba9bfa
rgb(186,155,250)
-
#c6aefb
#c6aefb
rgb(198,174,251)
-
#d3c0fc
#d3c0fc
rgb(211,192,252)
-
#e0d3fd
#e0d3fd
rgb(224,211,253)
-
#ede6fe
#ede6fe
rgb(237,230,254)
-
#faf8ff
#faf8ff
rgb(250,248,255)
Tones of #540cec
A tone is produced by adding gray to any pure hue. In this case, #797583 is the less saturated color, while #5102f6 is the most saturated one.
-
#797583
#797583
rgb(121,117,131)
-
#766b8d
#766b8d
rgb(118,107,141)
-
#736296
#736296
rgb(115,98,150)
-
#6f58a0
#6f58a0
rgb(111,88,160)
-
#6c4fa9
#6c4fa9
rgb(108,79,169)
-
#6845b3
#6845b3
rgb(104,69,179)
-
#653cbc
#653cbc
rgb(101,60,188)
-
#6232c6
#6232c6
rgb(98,50,198)
-
#5e29cf
#5e29cf
rgb(94,41,207)
-
#5b1fd9
#5b1fd9
rgb(91,31,217)
-
#5716e2
#5716e2
rgb(87,22,226)
-
#540cec
#540cec
rgb(84,12,236)
-
#5102f6
#5102f6
rgb(81,2,246)
Color Blindness Simulator
Below, you can see how #540cec is perceived by people affected by a color vision deficiency. This can be useful if you need to ensure your color combinations are accessible to color-blind users.