#540ca7 Color Information
In a RGB color space, hex #540ca7 is composed of 32.9% red, 4.7% green and 65.5% blue. Whereas in a CMYK color space, it is composed of 49.7% cyan, 92.8% magenta, 0% yellow and 34.5% black. It has a hue angle of 267.9 degrees, a saturation of 86.6% and a lightness of 35.1%. #540ca7 color hex could be obtained by blending #a818ff with #00004f. Closest websafe color is: #660099.
-
- R 33
- G 5
- B 65
-
- C 50
- M 93
- Y 0
- K 35
● #540ca7 color description : Dark violet.
#540ca7 Color Conversion
The hexadecimal color #540ca7 has RGB values of R:84, G:12, B:167 and CMYK values of C:0.5, M:0.93, Y:0, K:0.35. Its decimal value is 5508263.
| Hex triplet | 540ca7 | #540ca7 |
|---|---|---|
| RGB Decimal | 84, 12, 167 | rgb(84,12,167) |
| RGB Percent | 32.9, 4.7, 65.5 | rgb(32.9%,4.7%,65.5%) |
| CMYK | 50, 93, 0, 35 | |
| HSL | 267.9°, 86.6, 35.1 | hsl(267.9,86.6%,35.1%) |
| HSV (or HSB) | 267.9°, 92.8, 65.5 | |
| Web Safe | 660099 | #660099 |
| CIE-LAB | 26.557, 58.455, -66.12 |
|---|---|
| XYZ | 10.761, 4.938, 36.943 |
| xyY | 0.204, 0.094, 4.938 |
| CIE-LCH | 26.557, 88.255, 311.479 |
| CIE-LUV | 26.557, 7.653, -83.273 |
| Hunter-Lab | 22.221, 47.56, -83.017 |
| Binary | 01010100, 00001100, 10100111 |
Color Schemes with #540ca7
Alternatives to #540ca7
Below, you can see some colors close to #540ca7. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#540ca7 Preview
This text has a font color of #540ca7.
<span style="color:#540ca7;">Text here</span>
This paragraph has a background color of #540ca7.
<p style="background-color:#540ca7;">Content here</p>
This element has a border color of #540ca7.
<div style="border:1px solid #540ca7;">Content here</div>
.text {color:#540ca7;}
.background {background-color:#540ca7;}
.border {border:1px solid #540ca7;}
Shades and Tints of #540ca7
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, #010002 is the darkest color, while #f6effe is the lightest one.
-
#010002
#010002rgb(1,0,2) -
#0a0115
#0a0115rgb(10,1,21) -
#140327
#140327rgb(20,3,39) -
#1d0439
#1d0439rgb(29,4,57) -
#26054b
#26054brgb(38,5,75) -
#2f075e
#2f075ergb(47,7,94) -
#380870
#380870rgb(56,8,112) -
#420982
#420982rgb(66,9,130) -
#4b0b95
#4b0b95rgb(75,11,149) -
#540ca7
#540ca7rgb(84,12,167) -
#5d0db9
#5d0db9rgb(93,13,185) -
#660fcc
#660fccrgb(102,15,204) -
#7010de
#7010dergb(112,16,222)
-
#7913ee
#7913eergb(121,19,238) -
#8326ef
#8326efrgb(131,38,239) -
#8e38f1
#8e38f1rgb(142,56,241) -
#984af2
#984af2rgb(152,74,242) -
#a35df3
#a35df3rgb(163,93,243) -
#ad6ff5
#ad6ff5rgb(173,111,245) -
#b781f6
#b781f6rgb(183,129,246) -
#c293f7
#c293f7rgb(194,147,247) -
#cca6f9
#cca6f9rgb(204,166,249) -
#d7b8fa
#d7b8fargb(215,184,250) -
#e1cafb
#e1cafbrgb(225,202,251) -
#ebddfd
#ebddfdrgb(235,221,253) -
#f6effe
#f6effergb(246,239,254)
Tones of #540ca7
A tone is produced by adding gray to any pure hue. In this case, #59585b is the less saturated color, while #5405ae is the most saturated one.
-
#59585b
#59585brgb(89,88,91) -
#595162
#595162rgb(89,81,98) -
#584a69
#584a69rgb(88,74,105) -
#584370
#584370rgb(88,67,112) -
#573c77
#573c77rgb(87,60,119) -
#57357e
#57357ergb(87,53,126) -
#562e85
#562e85rgb(86,46,133) -
#56288b
#56288brgb(86,40,139) -
#552192
#552192rgb(85,33,146) -
#551a99
#551a99rgb(85,26,153) -
#5413a0
#5413a0rgb(84,19,160) -
#540ca7
#540ca7rgb(84,12,167) -
#5405ae
#5405aergb(84,5,174)
Color Blindness Simulator
Below, you can see how #540ca7 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.
