#540ca5 Color Information
In a RGB color space, hex #540ca5 is composed of 32.9% red, 4.7% green and 64.7% blue. Whereas in a CMYK color space, it is composed of 49.1% cyan, 92.7% magenta, 0% yellow and 35.3% black. It has a hue angle of 268.2 degrees, a saturation of 86.4% and a lightness of 34.7%. #540ca5 color hex could be obtained by blending #a818ff with #00004b. Closest websafe color is: #660099.
-
- R 33
- G 5
- B 65
-
- C 49
- M 93
- Y 0
- K 35
● #540ca5 color description : Dark violet.
#540ca5 Color Conversion
The hexadecimal color #540ca5 has RGB values of R:84, G:12, B:165 and CMYK values of C:0.49, M:0.93, Y:0, K:0.35. Its decimal value is 5508261.
| Hex triplet | 540ca5 | #540ca5 |
|---|---|---|
| RGB Decimal | 84, 12, 165 | rgb(84,12,165) |
| RGB Percent | 32.9, 4.7, 64.7 | rgb(32.9%,4.7%,64.7%) |
| CMYK | 49, 93, 0, 35 | |
| HSL | 268.2°, 86.4, 34.7 | hsl(268.2,86.4%,34.7%) |
| HSV (or HSB) | 268.2°, 92.7, 64.7 | |
| Web Safe | 660099 | #660099 |
| CIE-LAB | 26.345, 57.986, -65.259 |
|---|---|
| XYZ | 10.578, 4.864, 35.977 |
| xyY | 0.206, 0.095, 4.864 |
| CIE-LCH | 26.345, 87.298, 311.623 |
| CIE-LUV | 26.345, 7.926, -82.091 |
| Hunter-Lab | 22.055, 47.015, -81.276 |
| Binary | 01010100, 00001100, 10100101 |
Color Schemes with #540ca5
Alternatives to #540ca5
Below, you can see some colors close to #540ca5. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#540ca5 Preview
This text has a font color of #540ca5.
<span style="color:#540ca5;">Text here</span>
This paragraph has a background color of #540ca5.
<p style="background-color:#540ca5;">Content here</p>
This element has a border color of #540ca5.
<div style="border:1px solid #540ca5;">Content here</div>
.text {color:#540ca5;}
.background {background-color:#540ca5;}
.border {border:1px solid #540ca5;}
Shades and Tints of #540ca5
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, #000000 is the darkest color, while #f5edfe is the lightest one.
-
#000000
#000000rgb(0,0,0) -
#0a0113
#0a0113rgb(10,1,19) -
#130325
#130325rgb(19,3,37) -
#1c0437
#1c0437rgb(28,4,55) -
#25054a
#25054argb(37,5,74) -
#2f075c
#2f075crgb(47,7,92) -
#38086e
#38086ergb(56,8,110) -
#410980
#410980rgb(65,9,128) -
#4b0b93
#4b0b93rgb(75,11,147) -
#540ca5
#540ca5rgb(84,12,165) -
#5d0db7
#5d0db7rgb(93,13,183) -
#670fca
#670fcargb(103,15,202) -
#7010dc
#7010dcrgb(112,16,220)
-
#7912ee
#7912eergb(121,18,238) -
#8424ef
#8424efrgb(132,36,239) -
#8e36f0
#8e36f0rgb(142,54,240) -
#9849f2
#9849f2rgb(152,73,242) -
#a25bf3
#a25bf3rgb(162,91,243) -
#ad6df4
#ad6df4rgb(173,109,244) -
#b77ff6
#b77ff6rgb(183,127,246) -
#c192f7
#c192f7rgb(193,146,247) -
#cca4f8
#cca4f8rgb(204,164,248) -
#d6b6fa
#d6b6fargb(214,182,250) -
#e0c9fb
#e0c9fbrgb(224,201,251) -
#ebdbfc
#ebdbfcrgb(235,219,252) -
#f5edfe
#f5edfergb(245,237,254)
Tones of #540ca5
A tone is produced by adding gray to any pure hue. In this case, #58575a is the less saturated color, while #5405ac is the most saturated one.
-
#58575a
#58575argb(88,87,90) -
#585061
#585061rgb(88,80,97) -
#584968
#584968rgb(88,73,104) -
#57426f
#57426frgb(87,66,111) -
#573c75
#573c75rgb(87,60,117) -
#56357c
#56357crgb(86,53,124) -
#562e83
#562e83rgb(86,46,131) -
#56278a
#56278argb(86,39,138) -
#552091
#552091rgb(85,32,145) -
#551a97
#551a97rgb(85,26,151) -
#54139e
#54139ergb(84,19,158) -
#540ca5
#540ca5rgb(84,12,165) -
#5405ac
#5405acrgb(84,5,172)
Color Blindness Simulator
Below, you can see how #540ca5 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.
