#540c7b hex color
In a RGB color space, hex #540c7b is composed of 32.9% red, 4.7% green and 48.2% blue. Whereas in a CMYK color space, it is composed of 31.7% cyan, 90.2% magenta, 0% yellow and 51.8% black. It has a hue angle of 278.9 degrees, a saturation of 82.2% and a lightness of 26.5%. #540c7b color hex could be obtained by blending #a818f6 with #000000. Closest websafe color is: #660066.
-
- R 33
- G 5
- B 48
RGB color chart
-
- C 32
- M 90
- Y 0
- K 52
CMYK color chart
● #540c7b color description : Dark violet.
The hexadecimal color #540c7b has RGB values of R:84, G:12, B:123 and CMYK values of C:0.32, M:0.9, Y:0, K:0.52. Its decimal value is 5508219.
Hex triplet | 540c7b | #540c7b |
---|---|---|
RGB Decimal | 84, 12, 123 | rgb(84,12,123) |
RGB Percent | 32.9, 4.7, 48.2 | rgb(32.9%,4.7%,48.2%) |
CMYK | 32, 90, 0, 52 | |
HSL | 278.9°, 82.2, 26.5 | hsl(278.9,82.2%,26.5%) |
HSV (or HSB) | 278.9°, 90.2, 48.2 | |
Web Safe | 660066 | #660066 |
CIE-LAB | 22.224, 48.378, -45.938 |
---|---|
XYZ | 7.362, 3.578, 19.041 |
xyY | 0.246, 0.119, 3.578 |
CIE-LCH | 22.224, 66.714, 316.482 |
CIE-LUV | 22.224, 14.851, -56.568 |
Hunter-Lab | 18.916, 36.373, -46.441 |
Binary | 01010100, 00001100, 01111011 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #540c7b. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #540c7b
This text has a font color of #540c7b.
<span style="color:#540c7b;">Text here</span>
#540c7b background color
This paragraph has a background color of #540c7b.
<p style="background-color:#540c7b;">Content here</p>
#540c7b border color
This element has a border color of #540c7b.
<div style="border:1px solid #540c7b;">Content here</div>
CSS codes
.text {color:#540c7b;}
.background {background-color:#540c7b;}
.border {border:1px solid #540c7b;}
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, #0b0210 is the darkest color, while #fefdff is the lightest one.
-
#0b0210
#0b0210
rgb(11,2,16)
-
#170322
#170322
rgb(23,3,34)
-
#230534
#230534
rgb(35,5,52)
-
#2f0745
#2f0745
rgb(47,7,69)
-
#3c0957
#3c0957
rgb(60,9,87)
-
#480a69
#480a69
rgb(72,10,105)
-
#540c7b
#540c7b
rgb(84,12,123)
-
#600e8d
#600e8d
rgb(96,14,141)
-
#6c0f9f
#6c0f9f
rgb(108,15,159)
-
#7911b1
#7911b1
rgb(121,17,177)
-
#8513c2
#8513c2
rgb(133,19,194)
-
#9115d4
#9115d4
rgb(145,21,212)
-
#9d16e6
#9d16e6
rgb(157,22,230)
Shade Color Variation
-
#a526ea
#a526ea
rgb(165,38,234)
-
#ad38ec
#ad38ec
rgb(173,56,236)
-
#b44aed
#b44aed
rgb(180,74,237)
-
#bb5cef
#bb5cef
rgb(187,92,239)
-
#c36ef1
#c36ef1
rgb(195,110,241)
-
#ca80f3
#ca80f3
rgb(202,128,243)
-
#d292f4
#d292f4
rgb(210,146,244)
-
#d9a4f6
#d9a4f6
rgb(217,164,246)
-
#e0b5f8
#e0b5f8
rgb(224,181,248)
-
#e8c7fa
#e8c7fa
rgb(232,199,250)
-
#efd9fb
#efd9fb
rgb(239,217,251)
-
#f7ebfd
#f7ebfd
rgb(247,235,253)
-
#fefdff
#fefdff
rgb(254,253,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #454047 is the less saturated color, while #570285 is the most saturated one.
-
#454047
#454047
rgb(69,64,71)
-
#463b4c
#463b4c
rgb(70,59,76)
-
#483651
#483651
rgb(72,54,81)
-
#493057
#493057
rgb(73,48,87)
-
#4b2b5c
#4b2b5c
rgb(75,43,92)
-
#4c2661
#4c2661
rgb(76,38,97)
-
#4e2166
#4e2166
rgb(78,33,102)
-
#4f1c6b
#4f1c6b
rgb(79,28,107)
-
#511671
#511671
rgb(81,22,113)
-
#521176
#521176
rgb(82,17,118)
-
#540c7b
#540c7b
rgb(84,12,123)
-
#560780
#560780
rgb(86,7,128)
-
#570285
#570285
rgb(87,2,133)
Tone Color Variation
Below, you can see how #540c7b 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