#540cab Color Information
In a RGB color space, hex #540cab is composed of 32.9% red, 4.7% green and 67.1% blue. Whereas in a CMYK color space, it is composed of 50.9% cyan, 93% magenta, 0% yellow and 32.9% black. It has a hue angle of 267.2 degrees, a saturation of 86.9% and a lightness of 35.9%. #540cab color hex could be obtained by blending #a818ff with #000057. Closest websafe color is: #660099.
-
- R 33
- G 5
- B 67
-
- C 51
- M 93
- Y 0
- K 33
● #540cab color description : Dark violet.
#540cab Color Conversion
The hexadecimal color #540cab has RGB values of R:84, G:12, B:171 and CMYK values of C:0.51, M:0.93, Y:0, K:0.33. Its decimal value is 5508267.
| Hex triplet | 540cab | #540cab |
|---|---|---|
| RGB Decimal | 84, 12, 171 | rgb(84,12,171) |
| RGB Percent | 32.9, 4.7, 67.1 | rgb(32.9%,4.7%,67.1%) |
| CMYK | 51, 93, 0, 33 | |
| HSL | 267.2°, 86.9, 35.9 | hsl(267.2,86.9%,35.9%) |
| HSV (or HSB) | 267.2°, 93, 67.1 | |
| Web Safe | 660099 | #660099 |
| CIE-LAB | 26.984, 59.395, -67.83 |
|---|---|
| XYZ | 11.137, 5.088, 38.921 |
| xyY | 0.202, 0.092, 5.088 |
| CIE-LCH | 26.984, 90.159, 311.207 |
| CIE-LUV | 26.984, 7.121, -85.631 |
| Hunter-Lab | 22.556, 48.659, -86.515 |
| Binary | 01010100, 00001100, 10101011 |
Color Schemes with #540cab
Alternatives to #540cab
Below, you can see some colors close to #540cab. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#540cab Preview
This text has a font color of #540cab.
<span style="color:#540cab;">Text here</span>
This paragraph has a background color of #540cab.
<p style="background-color:#540cab;">Content here</p>
This element has a border color of #540cab.
<div style="border:1px solid #540cab;">Content here</div>
.text {color:#540cab;}
.background {background-color:#540cab;}
.border {border:1px solid #540cab;}
Shades and Tints of #540cab
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, #030006 is the darkest color, while #f8f3fe is the lightest one.
-
#030006
#030006rgb(3,0,6) -
#0c0218
#0c0218rgb(12,2,24) -
#15032b
#15032brgb(21,3,43) -
#1e043d
#1e043drgb(30,4,61) -
#27064f
#27064frgb(39,6,79) -
#300762
#300762rgb(48,7,98) -
#390874
#390874rgb(57,8,116) -
#420986
#420986rgb(66,9,134) -
#4b0b99
#4b0b99rgb(75,11,153) -
#540cab
#540cabrgb(84,12,171) -
#5d0dbd
#5d0dbdrgb(93,13,189) -
#660fd0
#660fd0rgb(102,15,208) -
#6f10e2
#6f10e2rgb(111,16,226)
-
#7917ef
#7917efrgb(121,23,239) -
#8329f0
#8329f0rgb(131,41,240) -
#8e3bf1
#8e3bf1rgb(142,59,241) -
#984ef3
#984ef3rgb(152,78,243) -
#a360f4
#a360f4rgb(163,96,244) -
#ae72f5
#ae72f5rgb(174,114,245) -
#b885f6
#b885f6rgb(184,133,246) -
#c397f8
#c397f8rgb(195,151,248) -
#cda9f9
#cda9f9rgb(205,169,249) -
#d8bcfa
#d8bcfargb(216,188,250) -
#e3cefc
#e3cefcrgb(227,206,252) -
#ede0fd
#ede0fdrgb(237,224,253) -
#f8f3fe
#f8f3fergb(248,243,254)
Tones of #540cab
A tone is produced by adding gray to any pure hue. In this case, #5b595e is the less saturated color, while #5305b2 is the most saturated one.
-
#5b595e
#5b595ergb(91,89,94) -
#5b5265
#5b5265rgb(91,82,101) -
#5a4b6c
#5a4b6crgb(90,75,108) -
#594473
#594473rgb(89,68,115) -
#593d7a
#593d7argb(89,61,122) -
#583681
#583681rgb(88,54,129) -
#572f88
#572f88rgb(87,47,136) -
#57288f
#57288frgb(87,40,143) -
#562196
#562196rgb(86,33,150) -
#551a9d
#551a9drgb(85,26,157) -
#5513a4
#5513a4rgb(85,19,164) -
#540cab
#540cabrgb(84,12,171) -
#5305b2
#5305b2rgb(83,5,178)
Color Blindness Simulator
Below, you can see how #540cab 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.
