#540c9a Color Information
In a RGB color space, hex #540c9a is composed of 32.9% red, 4.7% green and 60.4% blue. Whereas in a CMYK color space, it is composed of 45.5% cyan, 92.2% magenta, 0% yellow and 39.6% black. It has a hue angle of 270.4 degrees, a saturation of 85.5% and a lightness of 32.5%. #540c9a color hex could be obtained by blending #a818ff with #000035. Closest websafe color is: #660099.
-
- R 33
- G 5
- B 60
-
- C 45
- M 92
- Y 0
- K 40
● #540c9a color description : Dark violet.
#540c9a Color Conversion
The hexadecimal color #540c9a has RGB values of R:84, G:12, B:154 and CMYK values of C:0.45, M:0.92, Y:0, K:0.4. Its decimal value is 5508250.
Hex triplet | 540c9a | #540c9a |
---|---|---|
RGB Decimal | 84, 12, 154 | rgb(84,12,154) |
RGB Percent | 32.9, 4.7, 60.4 | rgb(32.9%,4.7%,60.4%) |
CMYK | 45, 92, 0, 40 | |
HSL | 270.4°, 85.5, 32.5 | hsl(270.4,85.5%,32.5%) |
HSV (or HSB) | 270.4°, 92.2, 60.4 | |
Web Safe | 660099 | #660099 |
CIE-LAB | 25.201, 55.417, -60.433 |
---|---|
XYZ | 9.619, 4.481, 30.928 |
xyY | 0.214, 0.1, 4.481 |
CIE-LCH | 25.201, 81.995, 312.521 |
CIE-LUV | 25.201, 9.504, -75.542 |
Hunter-Lab | 21.168, 44.072, -71.81 |
Binary | 01010100, 00001100, 10011010 |
Color Schemes with #540c9a
Alternatives to #540c9a
Below, you can see some colors close to #540c9a. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#540c9a Preview
This text has a font color of #540c9a.
<span style="color:#540c9a;">Text here</span>
This paragraph has a background color of #540c9a.
<p style="background-color:#540c9a;">Content here</p>
This element has a border color of #540c9a.
<div style="border:1px solid #540c9a;">Content here</div>
.text {color:#540c9a;}
.background {background-color:#540c9a;}
.border {border:1px solid #540c9a;}
Shades and Tints of #540c9a
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, #050108 is the darkest color, while #faf5fe is the lightest one.
-
#050108
#050108
rgb(5,1,8)
-
#0f021b
#0f021b
rgb(15,2,27)
-
#18032d
#18032d
rgb(24,3,45)
-
#22053f
#22053f
rgb(34,5,63)
-
#2c0651
#2c0651
rgb(44,6,81)
-
#360863
#360863
rgb(54,8,99)
-
#400976
#400976
rgb(64,9,118)
-
#4a0b88
#4a0b88
rgb(74,11,136)
-
#540c9a
#540c9a
rgb(84,12,154)
-
#5e0dac
#5e0dac
rgb(94,13,172)
-
#680fbe
#680fbe
rgb(104,15,190)
-
#7210d1
#7210d1
rgb(114,16,209)
-
#7c12e3
#7c12e3
rgb(124,18,227)
-
#861bed
#861bed
rgb(134,27,237)
-
#8f2def
#8f2def
rgb(143,45,239)
-
#993ff0
#993ff0
rgb(153,63,240)
-
#a351f1
#a351f1
rgb(163,81,241)
-
#ac64f3
#ac64f3
rgb(172,100,243)
-
#b676f4
#b676f4
rgb(182,118,244)
-
#c088f6
#c088f6
rgb(192,136,246)
-
#c99af7
#c99af7
rgb(201,154,247)
-
#d3acf9
#d3acf9
rgb(211,172,249)
-
#ddbffa
#ddbffa
rgb(221,191,250)
-
#e6d1fb
#e6d1fb
rgb(230,209,251)
-
#f0e3fd
#f0e3fd
rgb(240,227,253)
-
#faf5fe
#faf5fe
rgb(250,245,254)
Tones of #540c9a
A tone is produced by adding gray to any pure hue. In this case, #535254 is the less saturated color, while #5406a0 is the most saturated one.
-
#535254
#535254
rgb(83,82,84)
-
#534c5a
#534c5a
rgb(83,76,90)
-
#534561
#534561
rgb(83,69,97)
-
#533f67
#533f67
rgb(83,63,103)
-
#53396d
#53396d
rgb(83,57,109)
-
#533274
#533274
rgb(83,50,116)
-
#542c7a
#542c7a
rgb(84,44,122)
-
#542680
#542680
rgb(84,38,128)
-
#541f87
#541f87
rgb(84,31,135)
-
#54198d
#54198d
rgb(84,25,141)
-
#541294
#541294
rgb(84,18,148)
-
#540c9a
#540c9a
rgb(84,12,154)
-
#5406a0
#5406a0
rgb(84,6,160)
Color Blindness Simulator
Below, you can see how #540c9a 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.