#540ca4 Color Information
In a RGB color space, hex #540ca4 is composed of 32.9% red, 4.7% green and 64.3% blue. Whereas in a CMYK color space, it is composed of 48.8% cyan, 92.7% magenta, 0% yellow and 35.7% black. It has a hue angle of 268.4 degrees, a saturation of 86.4% and a lightness of 34.5%. #540ca4 color hex could be obtained by blending #a818ff with #000049. Closest websafe color is: #660099.
-
- R 33
- G 5
- B 64
-
- C 49
- M 93
- Y 0
- K 36
● #540ca4 color description : Dark violet.
#540ca4 Color Conversion
The hexadecimal color #540ca4 has RGB values of R:84, G:12, B:164 and CMYK values of C:0.49, M:0.93, Y:0, K:0.36. Its decimal value is 5508260.
| Hex triplet | 540ca4 | #540ca4 |
|---|---|---|
| RGB Decimal | 84, 12, 164 | rgb(84,12,164) |
| RGB Percent | 32.9, 4.7, 64.3 | rgb(32.9%,4.7%,64.3%) |
| CMYK | 49, 93, 0, 36 | |
| HSL | 268.4°, 86.4, 34.5 | hsl(268.4,86.4%,34.5%) |
| HSV (or HSB) | 268.4°, 92.7, 64.3 | |
| Web Safe | 660099 | #660099 |
| CIE-LAB | 26.239, 57.751, -64.826 |
|---|---|
| XYZ | 10.487, 4.828, 35.499 |
| xyY | 0.206, 0.095, 4.828 |
| CIE-LCH | 26.239, 86.819, 311.697 |
| CIE-LUV | 26.239, 8.063, -81.498 |
| Hunter-Lab | 21.973, 46.743, -80.408 |
| Binary | 01010100, 00001100, 10100100 |
Color Schemes with #540ca4
Alternatives to #540ca4
Below, you can see some colors close to #540ca4. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#540ca4 Preview
This text has a font color of #540ca4.
<span style="color:#540ca4;">Text here</span>
This paragraph has a background color of #540ca4.
<p style="background-color:#540ca4;">Content here</p>
This element has a border color of #540ca4.
<div style="border:1px solid #540ca4;">Content here</div>
.text {color:#540ca4;}
.background {background-color:#540ca4;}
.border {border:1px solid #540ca4;}
Shades and Tints of #540ca4
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, #090112 is the darkest color, while #fffeff is the lightest one.
-
#090112
#090112rgb(9,1,18) -
#120324
#120324rgb(18,3,36) -
#1c0436
#1c0436rgb(28,4,54) -
#250549
#250549rgb(37,5,73) -
#2f075b
#2f075brgb(47,7,91) -
#38086d
#38086drgb(56,8,109) -
#41097f
#41097frgb(65,9,127) -
#4b0b92
#4b0b92rgb(75,11,146) -
#540ca4
#540ca4rgb(84,12,164) -
#5d0db6
#5d0db6rgb(93,13,182) -
#670fc9
#670fc9rgb(103,15,201) -
#7010db
#7010dbrgb(112,16,219) -
#7911ed
#7911edrgb(121,17,237)
-
#8423ef
#8423efrgb(132,35,239) -
#8e35f0
#8e35f0rgb(142,53,240) -
#9848f2
#9848f2rgb(152,72,242) -
#a25af3
#a25af3rgb(162,90,243) -
#ad6cf4
#ad6cf4rgb(173,108,244) -
#b77ff6
#b77ff6rgb(183,127,246) -
#c191f7
#c191f7rgb(193,145,247) -
#cba3f8
#cba3f8rgb(203,163,248) -
#d6b5fa
#d6b5fargb(214,181,250) -
#e0c8fb
#e0c8fbrgb(224,200,251) -
#eadafc
#eadafcrgb(234,218,252) -
#f4ecfe
#f4ecfergb(244,236,254) -
#fffeff
#fffeffrgb(255,254,255)
Tones of #540ca4
A tone is produced by adding gray to any pure hue. In this case, #58565a is the less saturated color, while #5405ab is the most saturated one.
-
#58565a
#58565argb(88,86,90) -
#585060
#585060rgb(88,80,96) -
#574967
#574967rgb(87,73,103) -
#57426e
#57426ergb(87,66,110) -
#563b75
#563b75rgb(86,59,117) -
#56357b
#56357brgb(86,53,123) -
#562e82
#562e82rgb(86,46,130) -
#552789
#552789rgb(85,39,137) -
#552090
#552090rgb(85,32,144) -
#551a96
#551a96rgb(85,26,150) -
#54139d
#54139drgb(84,19,157) -
#540ca4
#540ca4rgb(84,12,164) -
#5405ab
#5405abrgb(84,5,171)
Color Blindness Simulator
Below, you can see how #540ca4 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.
