#540ca6 Color Information
In a RGB color space, hex #540ca6 is composed of 32.9% red, 4.7% green and 65.1% blue. Whereas in a CMYK color space, it is composed of 49.4% cyan, 92.8% magenta, 0% yellow and 34.9% black. It has a hue angle of 268.1 degrees, a saturation of 86.5% and a lightness of 34.9%. #540ca6 color hex could be obtained by blending #a818ff with #00004d. Closest websafe color is: #660099.
-
- R 33
- G 5
- B 65
-
- C 49
- M 93
- Y 0
- K 35
● #540ca6 color description : Dark violet.
#540ca6 Color Conversion
The hexadecimal color #540ca6 has RGB values of R:84, G:12, B:166 and CMYK values of C:0.49, M:0.93, Y:0, K:0.35. Its decimal value is 5508262.
Hex triplet | 540ca6 | #540ca6 |
---|---|---|
RGB Decimal | 84, 12, 166 | rgb(84,12,166) |
RGB Percent | 32.9, 4.7, 65.1 | rgb(32.9%,4.7%,65.1%) |
CMYK | 49, 93, 0, 35 | |
HSL | 268.1°, 86.5, 34.9 | hsl(268.1,86.5%,34.9%) |
HSV (or HSB) | 268.1°, 92.8, 65.1 | |
Web Safe | 660099 | #660099 |
CIE-LAB | 26.45, 58.22, -65.69 |
---|---|
XYZ | 10.669, 4.901, 36.458 |
xyY | 0.205, 0.094, 4.901 |
CIE-LCH | 26.45, 87.777, 311.55 |
CIE-LUV | 26.45, 7.789, -82.682 |
Hunter-Lab | 22.138, 47.287, -82.146 |
Binary | 01010100, 00001100, 10100110 |
Color Schemes with #540ca6
Alternatives to #540ca6
Below, you can see some colors close to #540ca6. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#540ca6 Preview
This text has a font color of #540ca6.
<span style="color:#540ca6;">Text here</span>
This paragraph has a background color of #540ca6.
<p style="background-color:#540ca6;">Content here</p>
This element has a border color of #540ca6.
<div style="border:1px solid #540ca6;">Content here</div>
.text {color:#540ca6;}
.background {background-color:#540ca6;}
.border {border:1px solid #540ca6;}
Shades and Tints of #540ca6
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, #010001 is the darkest color, while #f5eefe is the lightest one.
-
#010001
#010001
rgb(1,0,1)
-
#0a0114
#0a0114
rgb(10,1,20)
-
#130326
#130326
rgb(19,3,38)
-
#1c0438
#1c0438
rgb(28,4,56)
-
#26054b
#26054b
rgb(38,5,75)
-
#2f075d
#2f075d
rgb(47,7,93)
-
#38086f
#38086f
rgb(56,8,111)
-
#410981
#410981
rgb(65,9,129)
-
#4b0b94
#4b0b94
rgb(75,11,148)
-
#540ca6
#540ca6
rgb(84,12,166)
-
#5d0db8
#5d0db8
rgb(93,13,184)
-
#670fcb
#670fcb
rgb(103,15,203)
-
#7010dd
#7010dd
rgb(112,16,221)
-
#7913ee
#7913ee
rgb(121,19,238)
-
#8325ef
#8325ef
rgb(131,37,239)
-
#8e37f1
#8e37f1
rgb(142,55,241)
-
#9849f2
#9849f2
rgb(152,73,242)
-
#a35cf3
#a35cf3
rgb(163,92,243)
-
#ad6ef5
#ad6ef5
rgb(173,110,245)
-
#b780f6
#b780f6
rgb(183,128,246)
-
#c293f7
#c293f7
rgb(194,147,247)
-
#cca5f8
#cca5f8
rgb(204,165,248)
-
#d6b7fa
#d6b7fa
rgb(214,183,250)
-
#e1c9fb
#e1c9fb
rgb(225,201,251)
-
#ebdcfc
#ebdcfc
rgb(235,220,252)
-
#f5eefe
#f5eefe
rgb(245,238,254)
Tones of #540ca6
A tone is produced by adding gray to any pure hue. In this case, #59575b is the less saturated color, while #5405ad is the most saturated one.
-
#59575b
#59575b
rgb(89,87,91)
-
#585062
#585062
rgb(88,80,98)
-
#584a68
#584a68
rgb(88,74,104)
-
#58436f
#58436f
rgb(88,67,111)
-
#573c76
#573c76
rgb(87,60,118)
-
#57357d
#57357d
rgb(87,53,125)
-
#562e84
#562e84
rgb(86,46,132)
-
#56278b
#56278b
rgb(86,39,139)
-
#552191
#552191
rgb(85,33,145)
-
#551a98
#551a98
rgb(85,26,152)
-
#54139f
#54139f
rgb(84,19,159)
-
#540ca6
#540ca6
rgb(84,12,166)
-
#5405ad
#5405ad
rgb(84,5,173)
Color Blindness Simulator
Below, you can see how #540ca6 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.