#540ea8 Color Information
In a RGB color space, hex #540ea8 is composed of 32.9% red, 5.5% green and 65.9% blue. Whereas in a CMYK color space, it is composed of 50% cyan, 91.7% magenta, 0% yellow and 34.1% black. It has a hue angle of 267.3 degrees, a saturation of 84.6% and a lightness of 35.7%. #540ea8 color hex could be obtained by blending #a81cff with #000051. Closest websafe color is: #660099.
-
- R 33
- G 5
- B 66
-
- C 50
- M 92
- Y 0
- K 34
● #540ea8 color description : Dark violet.
#540ea8 Color Conversion
The hexadecimal color #540ea8 has RGB values of R:84, G:14, B:168 and CMYK values of C:0.5, M:0.92, Y:0, K:0.34. Its decimal value is 5508776.
Hex triplet | 540ea8 | #540ea8 |
---|---|---|
RGB Decimal | 84, 14, 168 | rgb(84,14,168) |
RGB Percent | 32.9, 5.5, 65.9 | rgb(32.9%,5.5%,65.9%) |
CMYK | 50, 92, 0, 34 | |
HSL | 267.3°, 84.6, 35.7 | hsl(267.3,84.6%,35.7%) |
HSV (or HSB) | 267.3°, 91.7, 65.9 | |
Web Safe | 660099 | #660099 |
CIE-LAB | 26.809, 58.252, -66.309 |
---|---|
XYZ | 10.88, 5.026, 37.441 |
xyY | 0.204, 0.094, 5.026 |
CIE-LCH | 26.809, 88.262, 311.299 |
CIE-LUV | 26.809, 7.424, -83.839 |
Hunter-Lab | 22.419, 47.394, -83.325 |
Binary | 01010100, 00001110, 10101000 |
Color Schemes with #540ea8
Alternatives to #540ea8
Below, you can see some colors close to #540ea8. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#540ea8 Preview
This text has a font color of #540ea8.
<span style="color:#540ea8;">Text here</span>
This paragraph has a background color of #540ea8.
<p style="background-color:#540ea8;">Content here</p>
This element has a border color of #540ea8.
<div style="border:1px solid #540ea8;">Content here</div>
.text {color:#540ea8;}
.background {background-color:#540ea8;}
.border {border:1px solid #540ea8;}
Shades and Tints of #540ea8
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, #030005 is the darkest color, while #f7f2fe is the lightest one.
-
#030005
#030005
rgb(3,0,5)
-
#0c0217
#0c0217
rgb(12,2,23)
-
#150329
#150329
rgb(21,3,41)
-
#1e053b
#1e053b
rgb(30,5,59)
-
#27064d
#27064d
rgb(39,6,77)
-
#300860
#300860
rgb(48,8,96)
-
#390972
#390972
rgb(57,9,114)
-
#420b84
#420b84
rgb(66,11,132)
-
#4b0c96
#4b0c96
rgb(75,12,150)
-
#540ea8
#540ea8
rgb(84,14,168)
-
#5d10ba
#5d10ba
rgb(93,16,186)
-
#6611cc
#6611cc
rgb(102,17,204)
-
#6f13de
#6f13de
rgb(111,19,222)
-
#7919ec
#7919ec
rgb(121,25,236)
-
#832bed
#832bed
rgb(131,43,237)
-
#8e3def
#8e3def
rgb(142,61,239)
-
#984ff0
#984ff0
rgb(152,79,240)
-
#a361f2
#a361f2
rgb(163,97,242)
-
#ad73f3
#ad73f3
rgb(173,115,243)
-
#b885f5
#b885f5
rgb(184,133,245)
-
#c397f6
#c397f6
rgb(195,151,246)
-
#cdaaf8
#cdaaf8
rgb(205,170,248)
-
#d8bcf9
#d8bcf9
rgb(216,188,249)
-
#e2cefb
#e2cefb
rgb(226,206,251)
-
#ede0fc
#ede0fc
rgb(237,224,252)
-
#f7f2fe
#f7f2fe
rgb(247,242,254)
Tones of #540ea8
A tone is produced by adding gray to any pure hue. In this case, #5a5462 is the less saturated color, while #5300b6 is the most saturated one.
-
#5a5462
#5a5462
rgb(90,84,98)
-
#5a4d69
#5a4d69
rgb(90,77,105)
-
#594670
#594670
rgb(89,70,112)
-
#583f77
#583f77
rgb(88,63,119)
-
#58387e
#58387e
rgb(88,56,126)
-
#573185
#573185
rgb(87,49,133)
-
#572a8c
#572a8c
rgb(87,42,140)
-
#562393
#562393
rgb(86,35,147)
-
#551c9a
#551c9a
rgb(85,28,154)
-
#5515a1
#5515a1
rgb(85,21,161)
-
#540ea8
#540ea8
rgb(84,14,168)
-
#5307af
#5307af
rgb(83,7,175)
-
#5300b6
#5300b6
rgb(83,0,182)
Color Blindness Simulator
Below, you can see how #540ea8 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.