#540a99 hex color
In a RGB color space, hex #540a99 is composed of 32.9% red, 3.9% green and 60% blue. Whereas in a CMYK color space, it is composed of 45.1% cyan, 93.5% magenta, 0% yellow and 40% black. It has a hue angle of 271 degrees, a saturation of 87.7% and a lightness of 32%. #540a99 color hex could be obtained by blending #a814ff with #000033. Closest websafe color is: #660099.
-
- R 33
- G 4
- B 60
RGB color chart
-
- C 45
- M 93
- Y 0
- K 40
CMYK color chart
● #540a99 color description : Dark violet.
The hexadecimal color #540a99 has RGB values of R:84, G:10, B:153 and CMYK values of C:0.45, M:0.93, Y:0, K:0.4. Its decimal value is 5507737.
Hex triplet | 540a99 | #540a99 |
---|---|---|
RGB Decimal | 84, 10, 153 | rgb(84,10,153) |
RGB Percent | 32.9, 3.9, 60 | rgb(32.9%,3.9%,60%) |
CMYK | 45, 93, 0, 40 | |
HSL | 271°, 87.7, 32 | hsl(271,87.7%,32%) |
HSV (or HSB) | 271°, 93.5, 60 | |
Web Safe | 660099 | #660099 |
CIE-LAB | 24.958, 55.609, -60.221 |
---|---|
XYZ | 9.514, 4.402, 30.484 |
xyY | 0.214, 0.099, 4.402 |
CIE-LCH | 24.958, 81.969, 312.72 |
CIE-LUV | 24.958, 9.746, -74.981 |
Hunter-Lab | 20.981, 44.224, -71.459 |
Binary | 01010100, 00001010, 10011001 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #540a99. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #540a99
This text has a font color of #540a99.
<span style="color:#540a99;">Text here</span>
#540a99 background color
This paragraph has a background color of #540a99.
<p style="background-color:#540a99;">Content here</p>
#540a99 border color
This element has a border color of #540a99.
<div style="border:1px solid #540a99;">Content here</div>
CSS codes
.text {color:#540a99;}
.background {background-color:#540a99;}
.border {border:1px solid #540a99;}
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 #f8f2fe is the lightest one.
-
#030006
#030006
rgb(3,0,6)
-
#0d0218
#0d0218
rgb(13,2,24)
-
#17032b
#17032b
rgb(23,3,43)
-
#21043d
#21043d
rgb(33,4,61)
-
#2c054f
#2c054f
rgb(44,5,79)
-
#360662
#360662
rgb(54,6,98)
-
#400874
#400874
rgb(64,8,116)
-
#4a0987
#4a0987
rgb(74,9,135)
-
#540a99
#540a99
rgb(84,10,153)
-
#5e0bab
#5e0bab
rgb(94,11,171)
-
#680cbe
#680cbe
rgb(104,12,190)
-
#720ed0
#720ed0
rgb(114,14,208)
-
#7c0fe3
#7c0fe3
rgb(124,15,227)
Shade Color Variation
-
#8615f0
#8615f0
rgb(134,21,240)
-
#9028f1
#9028f1
rgb(144,40,241)
-
#993af2
#993af2
rgb(153,58,242)
-
#a34df3
#a34df3
rgb(163,77,243)
-
#ac5ff5
#ac5ff5
rgb(172,95,245)
-
#b671f6
#b671f6
rgb(182,113,246)
-
#bf84f7
#bf84f7
rgb(191,132,247)
-
#c996f8
#c996f8
rgb(201,150,248)
-
#d2a9f9
#d2a9f9
rgb(210,169,249)
-
#dcbbfb
#dcbbfb
rgb(220,187,251)
-
#e5cdfc
#e5cdfc
rgb(229,205,252)
-
#efe0fd
#efe0fd
rgb(239,224,253)
-
#f8f2fe
#f8f2fe
rgb(248,242,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #524f54 is the less saturated color, while #54049f is the most saturated one.
-
#524f54
#524f54
rgb(82,79,84)
-
#52495a
#52495a
rgb(82,73,90)
-
#524261
#524261
rgb(82,66,97)
-
#523c67
#523c67
rgb(82,60,103)
-
#52366d
#52366d
rgb(82,54,109)
-
#533073
#533073
rgb(83,48,115)
-
#53297a
#53297a
rgb(83,41,122)
-
#532380
#532380
rgb(83,35,128)
-
#531d86
#531d86
rgb(83,29,134)
-
#54178c
#54178c
rgb(84,23,140)
-
#541093
#541093
rgb(84,16,147)
-
#540a99
#540a99
rgb(84,10,153)
-
#54049f
#54049f
rgb(84,4,159)
Tone Color Variation
Below, you can see how #540a99 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.
Monochromacy
Dichromacy