#540caf Color Information
In a RGB color space, hex #540caf is composed of 32.9% red, 4.7% green and 68.6% blue. Whereas in a CMYK color space, it is composed of 52% cyan, 93.1% magenta, 0% yellow and 31.4% black. It has a hue angle of 266.5 degrees, a saturation of 87.2% and a lightness of 36.7%. #540caf color hex could be obtained by blending #a818ff with #00005f. Closest websafe color is: #660099.
-
- R 33
- G 5
- B 69
-
- C 52
- M 93
- Y 0
- K 31
● #540caf color description : Dark violet.
#540caf Color Conversion
The hexadecimal color #540caf has RGB values of R:84, G:12, B:175 and CMYK values of C:0.52, M:0.93, Y:0, K:0.31. Its decimal value is 5508271.
Hex triplet | 540caf | #540caf |
---|---|---|
RGB Decimal | 84, 12, 175 | rgb(84,12,175) |
RGB Percent | 32.9, 4.7, 68.6 | rgb(32.9%,4.7%,68.6%) |
CMYK | 52, 93, 0, 31 | |
HSL | 266.5°, 87.2, 36.7 | hsl(266.5,87.2%,36.7%) |
HSV (or HSB) | 266.5°, 93.1, 68.6 | |
Web Safe | 660099 | #660099 |
CIE-LAB | 27.416, 60.337, -69.522 |
---|---|
XYZ | 11.524, 5.243, 40.96 |
xyY | 0.2, 0.091, 5.243 |
CIE-LCH | 27.416, 92.053, 310.954 |
CIE-LUV | 27.416, 6.604, -87.981 |
Hunter-Lab | 22.897, 49.769, -90.034 |
Binary | 01010100, 00001100, 10101111 |
Color Schemes with #540caf
Alternatives to #540caf
Below, you can see some colors close to #540caf. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#540caf Preview
This text has a font color of #540caf.
<span style="color:#540caf;">Text here</span>
This paragraph has a background color of #540caf.
<p style="background-color:#540caf;">Content here</p>
This element has a border color of #540caf.
<div style="border:1px solid #540caf;">Content here</div>
.text {color:#540caf;}
.background {background-color:#540caf;}
.border {border:1px solid #540caf;}
Shades and Tints of #540caf
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, #05010a is the darkest color, while #faf6fe is the lightest one.
-
#05010a
#05010a
rgb(5,1,10)
-
#0e021c
#0e021c
rgb(14,2,28)
-
#16032f
#16032f
rgb(22,3,47)
-
#1f0441
#1f0441
rgb(31,4,65)
-
#280653
#280653
rgb(40,6,83)
-
#310766
#310766
rgb(49,7,102)
-
#3a0878
#3a0878
rgb(58,8,120)
-
#42098a
#42098a
rgb(66,9,138)
-
#4b0b9d
#4b0b9d
rgb(75,11,157)
-
#540caf
#540caf
rgb(84,12,175)
-
#5d0dc1
#5d0dc1
rgb(93,13,193)
-
#660fd4
#660fd4
rgb(102,15,212)
-
#6e10e6
#6e10e6
rgb(110,16,230)
-
#781aef
#781aef
rgb(120,26,239)
-
#832df1
#832df1
rgb(131,45,241)
-
#8e3ff2
#8e3ff2
rgb(142,63,242)
-
#9951f3
#9951f3
rgb(153,81,243)
-
#a464f4
#a464f4
rgb(164,100,244)
-
#ae76f6
#ae76f6
rgb(174,118,246)
-
#b988f7
#b988f7
rgb(185,136,247)
-
#c49bf8
#c49bf8
rgb(196,155,248)
-
#cfadf9
#cfadf9
rgb(207,173,249)
-
#dabffb
#dabffb
rgb(218,191,251)
-
#e4d2fc
#e4d2fc
rgb(228,210,252)
-
#efe4fd
#efe4fd
rgb(239,228,253)
-
#faf6fe
#faf6fe
rgb(250,246,254)
Tones of #540caf
A tone is produced by adding gray to any pure hue. In this case, #5d5b60 is the less saturated color, while #5305b6 is the most saturated one.
-
#5d5b60
#5d5b60
rgb(93,91,96)
-
#5c5467
#5c5467
rgb(92,84,103)
-
#5c4d6e
#5c4d6e
rgb(92,77,110)
-
#5b4675
#5b4675
rgb(91,70,117)
-
#5a3e7d
#5a3e7d
rgb(90,62,125)
-
#593784
#593784
rgb(89,55,132)
-
#58308b
#58308b
rgb(88,48,139)
-
#572992
#572992
rgb(87,41,146)
-
#572299
#572299
rgb(87,34,153)
-
#561aa1
#561aa1
rgb(86,26,161)
-
#5513a8
#5513a8
rgb(85,19,168)
-
#540caf
#540caf
rgb(84,12,175)
-
#5305b6
#5305b6
rgb(83,5,182)
Color Blindness Simulator
Below, you can see how #540caf 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.