#540cfa Color Information
In a RGB color space, hex #540cfa is composed of 32.9% red, 4.7% green and 98% blue. Whereas in a CMYK color space, it is composed of 66.4% cyan, 95.2% magenta, 0% yellow and 2% black. It has a hue angle of 258.2 degrees, a saturation of 96% and a lightness of 51.4%. #540cfa color hex could be obtained by blending #a818ff with #0000f5. Closest websafe color is: #6600ff.
-
- R 33
- G 5
- B 98
-
- C 66
- M 95
- Y 0
- K 2
● #540cfa color description : Vivid violet.
#540cfa Color Conversion
The hexadecimal color #540cfa has RGB values of R:84, G:12, B:250 and CMYK values of C:0.66, M:0.95, Y:0, K:0.02. Its decimal value is 5508346.
Hex triplet | 540cfa | #540cfa |
---|---|---|
RGB Decimal | 84, 12, 250 | rgb(84,12,250) |
RGB Percent | 32.9, 4.7, 98 | rgb(32.9%,4.7%,98%) |
CMYK | 66, 95, 0, 2 | |
HSL | 258.2°, 96, 51.4 | hsl(258.2,96%,51.4%) |
HSV (or HSB) | 258.2°, 95.2, 98 | |
Web Safe | 6600ff | #6600ff |
CIE-LAB | 36.078, 77.986, -98.651 |
---|---|
XYZ | 21.04, 9.049, 91.075 |
xyY | 0.174, 0.075, 9.049 |
CIE-LCH | 36.078, 125.753, 308.327 |
CIE-LUV | 36.078, -0.995, -130.828 |
Hunter-Lab | 30.082, 72.204, -158.45 |
Binary | 01010100, 00001100, 11111010 |
Color Schemes with #540cfa
Alternatives to #540cfa
Below, you can see some colors close to #540cfa. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#540cfa Preview
This text has a font color of #540cfa.
<span style="color:#540cfa;">Text here</span>
This paragraph has a background color of #540cfa.
<p style="background-color:#540cfa;">Content here</p>
This element has a border color of #540cfa.
<div style="border:1px solid #540cfa;">Content here</div>
.text {color:#540cfa;}
.background {background-color:#540cfa;}
.border {border:1px solid #540cfa;}
Shades and Tints of #540cfa
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, #020007 is the darkest color, while #f6f3ff is the lightest one.
-
#020007
#020007
rgb(2,0,7)
-
#08011a
#08011a
rgb(8,1,26)
-
#0e012d
#0e012d
rgb(14,1,45)
-
#140141
#140141
rgb(20,1,65)
-
#1b0254
#1b0254
rgb(27,2,84)
-
#210267
#210267
rgb(33,2,103)
-
#27037a
#27037a
rgb(39,3,122)
-
#2d038d
#2d038d
rgb(45,3,141)
-
#3303a1
#3303a1
rgb(51,3,161)
-
#3904b4
#3904b4
rgb(57,4,180)
-
#3f04c7
#3f04c7
rgb(63,4,199)
-
#4504da
#4504da
rgb(69,4,218)
-
#4b05ed
#4b05ed
rgb(75,5,237)
-
#540cfa
#540cfa
rgb(84,12,250)
-
#621ffa
#621ffa
rgb(98,31,250)
-
#6f32fb
#6f32fb
rgb(111,50,251)
-
#7d46fb
#7d46fb
rgb(125,70,251)
-
#8a59fc
#8a59fc
rgb(138,89,252)
-
#986cfc
#986cfc
rgb(152,108,252)
-
#a57ffc
#a57ffc
rgb(165,127,252)
-
#b393fd
#b393fd
rgb(179,147,253)
-
#c0a6fd
#c0a6fd
rgb(192,166,253)
-
#ceb9fe
#ceb9fe
rgb(206,185,254)
-
#dbccfe
#dbccfe
rgb(219,204,254)
-
#e9dffe
#e9dffe
rgb(233,223,254)
-
#f6f3ff
#f6f3ff
rgb(246,243,255)
Tones of #540cfa
A tone is produced by adding gray to any pure hue. In this case, #817e88 is the less saturated color, while #540cfa is the most saturated one.
-
#817e88
#817e88
rgb(129,126,136)
-
#7d7591
#7d7591
rgb(125,117,145)
-
#7a6b9b
#7a6b9b
rgb(122,107,155)
-
#7662a4
#7662a4
rgb(118,98,164)
-
#7258ae
#7258ae
rgb(114,88,174)
-
#6e4fb7
#6e4fb7
rgb(110,79,183)
-
#6b45c1
#6b45c1
rgb(107,69,193)
-
#673cca
#673cca
rgb(103,60,202)
-
#6332d4
#6332d4
rgb(99,50,212)
-
#5f29dd
#5f29dd
rgb(95,41,221)
-
#5c1fe7
#5c1fe7
rgb(92,31,231)
-
#5816f0
#5816f0
rgb(88,22,240)
-
#540cfa
#540cfa
rgb(84,12,250)
Color Blindness Simulator
Below, you can see how #540cfa 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.