#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
#04010crgb(4,1,12) -
#0b021f
#0b021frgb(11,2,31) -
#120331
#120331rgb(18,3,49) -
#180344
#180344rgb(24,3,68) -
#1f0457
#1f0457rgb(31,4,87) -
#250569
#250569rgb(37,5,105) -
#2c067c
#2c067crgb(44,6,124) -
#33078f
#33078frgb(51,7,143) -
#3908a1
#3908a1rgb(57,8,161) -
#4009b4
#4009b4rgb(64,9,180) -
#470ac7
#470ac7rgb(71,10,199) -
#4d0bd9
#4d0bd9rgb(77,11,217) -
#540cec
#540cecrgb(84,12,236)
-
#5f18f3
#5f18f3rgb(95,24,243) -
#6c2bf4
#6c2bf4rgb(108,43,244) -
#793ef5
#793ef5rgb(121,62,245) -
#8650f6
#8650f6rgb(134,80,246) -
#9363f7
#9363f7rgb(147,99,247) -
#a076f8
#a076f8rgb(160,118,248) -
#ad88f9
#ad88f9rgb(173,136,249) -
#ba9bfa
#ba9bfargb(186,155,250) -
#c6aefb
#c6aefbrgb(198,174,251) -
#d3c0fc
#d3c0fcrgb(211,192,252) -
#e0d3fd
#e0d3fdrgb(224,211,253) -
#ede6fe
#ede6fergb(237,230,254) -
#faf8ff
#faf8ffrgb(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
#797583rgb(121,117,131) -
#766b8d
#766b8drgb(118,107,141) -
#736296
#736296rgb(115,98,150) -
#6f58a0
#6f58a0rgb(111,88,160) -
#6c4fa9
#6c4fa9rgb(108,79,169) -
#6845b3
#6845b3rgb(104,69,179) -
#653cbc
#653cbcrgb(101,60,188) -
#6232c6
#6232c6rgb(98,50,198) -
#5e29cf
#5e29cfrgb(94,41,207) -
#5b1fd9
#5b1fd9rgb(91,31,217) -
#5716e2
#5716e2rgb(87,22,226) -
#540cec
#540cecrgb(84,12,236) -
#5102f6
#5102f6rgb(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.
