#540ca2 Color Information
In a RGB color space, hex #540ca2 is composed of 32.9% red, 4.7% green and 63.5% blue. Whereas in a CMYK color space, it is composed of 48.1% cyan, 92.6% magenta, 0% yellow and 36.5% black. It has a hue angle of 268.8 degrees, a saturation of 86.2% and a lightness of 34.1%. #540ca2 color hex could be obtained by blending #a818ff with #000045. Closest websafe color is: #660099.
-
- R 33
- G 5
- B 64
-
- C 48
- M 93
- Y 0
- K 36
● #540ca2 color description : Dark violet.
#540ca2 Color Conversion
The hexadecimal color #540ca2 has RGB values of R:84, G:12, B:162 and CMYK values of C:0.48, M:0.93, Y:0, K:0.36. Its decimal value is 5508258.
| Hex triplet | 540ca2 | #540ca2 |
|---|---|---|
| RGB Decimal | 84, 12, 162 | rgb(84,12,162) |
| RGB Percent | 32.9, 4.7, 63.5 | rgb(32.9%,4.7%,63.5%) |
| CMYK | 48, 93, 0, 36 | |
| HSL | 268.8°, 86.2, 34.1 | hsl(268.8,86.2%,34.1%) |
| HSV (or HSB) | 268.8°, 92.6, 63.5 | |
| Web Safe | 660099 | #660099 |
| CIE-LAB | 26.029, 57.283, -63.957 |
|---|---|
| XYZ | 10.308, 4.756, 34.555 |
| xyY | 0.208, 0.096, 4.756 |
| CIE-LCH | 26.029, 85.86, 311.849 |
| CIE-LUV | 26.029, 8.342, -80.312 |
| Hunter-Lab | 21.809, 46.203, -78.676 |
| Binary | 01010100, 00001100, 10100010 |
Color Schemes with #540ca2
Alternatives to #540ca2
Below, you can see some colors close to #540ca2. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#540ca2 Preview
This text has a font color of #540ca2.
<span style="color:#540ca2;">Text here</span>
This paragraph has a background color of #540ca2.
<p style="background-color:#540ca2;">Content here</p>
This element has a border color of #540ca2.
<div style="border:1px solid #540ca2;">Content here</div>
.text {color:#540ca2;}
.background {background-color:#540ca2;}
.border {border:1px solid #540ca2;}
Shades and Tints of #540ca2
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, #080110 is the darkest color, while #fefdff is the lightest one.
-
#080110
#080110rgb(8,1,16) -
#120322
#120322rgb(18,3,34) -
#1b0434
#1b0434rgb(27,4,52) -
#250547
#250547rgb(37,5,71) -
#2e0759
#2e0759rgb(46,7,89) -
#38086b
#38086brgb(56,8,107) -
#41097d
#41097drgb(65,9,125) -
#4b0b90
#4b0b90rgb(75,11,144) -
#540ca2
#540ca2rgb(84,12,162) -
#5d0db4
#5d0db4rgb(93,13,180) -
#670fc7
#670fc7rgb(103,15,199) -
#7010d9
#7010d9rgb(112,16,217) -
#7a11eb
#7a11ebrgb(122,17,235)
-
#8421ef
#8421efrgb(132,33,239) -
#8e34f0
#8e34f0rgb(142,52,240) -
#9846f1
#9846f1rgb(152,70,241) -
#a258f3
#a258f3rgb(162,88,243) -
#ad6bf4
#ad6bf4rgb(173,107,244) -
#b77df5
#b77df5rgb(183,125,245) -
#c18ff7
#c18ff7rgb(193,143,247) -
#cba1f8
#cba1f8rgb(203,161,248) -
#d5b4f9
#d5b4f9rgb(213,180,249) -
#dfc6fb
#dfc6fbrgb(223,198,251) -
#e9d8fc
#e9d8fcrgb(233,216,252) -
#f4eafd
#f4eafdrgb(244,234,253) -
#fefdff
#fefdffrgb(254,253,255)
Tones of #540ca2
A tone is produced by adding gray to any pure hue. In this case, #575658 is the less saturated color, while #5405a9 is the most saturated one.
-
#575658
#575658rgb(87,86,88) -
#574f5f
#574f5frgb(87,79,95) -
#564866
#564866rgb(86,72,102) -
#56426c
#56426crgb(86,66,108) -
#563b73
#563b73rgb(86,59,115) -
#56347a
#56347argb(86,52,122) -
#552d81
#552d81rgb(85,45,129) -
#552787
#552787rgb(85,39,135) -
#55208e
#55208ergb(85,32,142) -
#551995
#551995rgb(85,25,149) -
#54139b
#54139brgb(84,19,155) -
#540ca2
#540ca2rgb(84,12,162) -
#5405a9
#5405a9rgb(84,5,169)
Color Blindness Simulator
Below, you can see how #540ca2 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.
