#540fa2 Color Information
In a RGB color space, hex #540fa2 is composed of 32.9% red, 5.9% green and 63.5% blue. Whereas in a CMYK color space, it is composed of 48.1% cyan, 90.7% magenta, 0% yellow and 36.5% black. It has a hue angle of 268.2 degrees, a saturation of 83.1% and a lightness of 34.7%. #540fa2 color hex could be obtained by blending #a81eff with #000045. Closest websafe color is: #660099.
-
- R 33
- G 6
- B 64
-
- C 48
- M 91
- Y 0
- K 36
● #540fa2 color description : Dark violet.
#540fa2 Color Conversion
The hexadecimal color #540fa2 has RGB values of R:84, G:15, B:162 and CMYK values of C:0.48, M:0.91, Y:0, K:0.36. Its decimal value is 5509026.
| Hex triplet | 540fa2 | #540fa2 |
|---|---|---|
| RGB Decimal | 84, 15, 162 | rgb(84,15,162) |
| RGB Percent | 32.9, 5.9, 63.5 | rgb(32.9%,5.9%,63.5%) |
| CMYK | 48, 91, 0, 36 | |
| HSL | 268.2°, 83.1, 34.7 | hsl(268.2,83.1%,34.7%) |
| HSV (or HSB) | 268.2°, 90.7, 63.5 | |
| Web Safe | 660099 | #660099 |
| CIE-LAB | 26.26, 56.592, -63.577 |
|---|---|
| XYZ | 10.347, 4.835, 34.569 |
| xyY | 0.208, 0.097, 4.835 |
| CIE-LCH | 26.26, 85.116, 311.673 |
| CIE-LUV | 26.26, 8.192, -80.26 |
| Hunter-Lab | 21.989, 45.518, -77.818 |
| Binary | 01010100, 00001111, 10100010 |
Color Schemes with #540fa2
Alternatives to #540fa2
Below, you can see some colors close to #540fa2. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#540fa2 Preview
This text has a font color of #540fa2.
<span style="color:#540fa2;">Text here</span>
This paragraph has a background color of #540fa2.
<p style="background-color:#540fa2;">Content here</p>
This element has a border color of #540fa2.
<div style="border:1px solid #540fa2;">Content here</div>
.text {color:#540fa2;}
.background {background-color:#540fa2;}
.border {border:1px solid #540fa2;}
Shades and Tints of #540fa2
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 #f5edfd is the lightest one.
-
#000000
#000000rgb(0,0,0) -
#0a0212
#0a0212rgb(10,2,18) -
#130324
#130324rgb(19,3,36) -
#1c0536
#1c0536rgb(28,5,54) -
#250748
#250748rgb(37,7,72) -
#2f085a
#2f085argb(47,8,90) -
#380a6c
#380a6crgb(56,10,108) -
#410c7e
#410c7ergb(65,12,126) -
#4b0d90
#4b0d90rgb(75,13,144) -
#540fa2
#540fa2rgb(84,15,162) -
#5d11b4
#5d11b4rgb(93,17,180) -
#6712c6
#6712c6rgb(103,18,198) -
#7014d8
#7014d8rgb(112,20,216)
-
#7916e9
#7916e9rgb(121,22,233) -
#8428eb
#8428ebrgb(132,40,235) -
#8e3aed
#8e3aedrgb(142,58,237) -
#984cee
#984ceergb(152,76,238) -
#a25ef0
#a25ef0rgb(162,94,240) -
#ad70f2
#ad70f2rgb(173,112,242) -
#b782f3
#b782f3rgb(183,130,243) -
#c194f5
#c194f5rgb(193,148,245) -
#cca6f7
#cca6f7rgb(204,166,247) -
#d6b8f8
#d6b8f8rgb(214,184,248) -
#e0cafa
#e0cafargb(224,202,250) -
#ebdcfc
#ebdcfcrgb(235,220,252) -
#f5edfd
#f5edfdrgb(245,237,253)
Tones of #540fa2
A tone is produced by adding gray to any pure hue. In this case, #58535e is the less saturated color, while #5301b0 is the most saturated one.
-
#58535e
#58535ergb(88,83,94) -
#584c65
#584c65rgb(88,76,101) -
#57456c
#57456crgb(87,69,108) -
#573f72
#573f72rgb(87,63,114) -
#573879
#573879rgb(87,56,121) -
#563180
#563180rgb(86,49,128) -
#562a87
#562a87rgb(86,42,135) -
#55238e
#55238ergb(85,35,142) -
#551d94
#551d94rgb(85,29,148) -
#54169b
#54169brgb(84,22,155) -
#540fa2
#540fa2rgb(84,15,162) -
#5408a9
#5408a9rgb(84,8,169) -
#5301b0
#5301b0rgb(83,1,176)
Color Blindness Simulator
Below, you can see how #540fa2 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.
