#542fb8 hex color
In a RGB color space, hex #542fb8 is composed of 32.9% red, 18.4% green and 72.2% blue. Whereas in a CMYK color space, it is composed of 54.3% cyan, 74.5% magenta, 0% yellow and 27.8% black. It has a hue angle of 256.2 degrees, a saturation of 59.3% and a lightness of 45.3%. #542fb8 color hex could be obtained by blending #a85eff with #000071. Closest websafe color is: #6633cc.
-
- R 33
- G 18
- B 72
RGB color chart
-
- C 54
- M 74
- Y 0
- K 28
CMYK color chart
● #542fb8 color description : Moderate violet.
The hexadecimal color #542fb8 has RGB values of R:84, G:47, B:184 and CMYK values of C:0.54, M:0.74, Y:0, K:0.28. Its decimal value is 5517240.
Hex triplet | 542fb8 | #542fb8 |
---|---|---|
RGB Decimal | 84, 47, 184 | rgb(84,47,184) |
RGB Percent | 32.9, 18.4, 72.2 | rgb(32.9%,18.4%,72.2%) |
CMYK | 54, 74, 0, 28 | |
HSL | 256.2°, 59.3, 45.3 | hsl(256.2,59.3%,45.3%) |
HSV (or HSB) | 256.2°, 74.5, 72.2 | |
Web Safe | 6633cc | #6633cc |
CIE-LAB | 32.653, 50.02, -66.259 |
---|---|
XYZ | 13.323, 7.378, 46.067 |
xyY | 0.2, 0.111, 7.378 |
CIE-LCH | 32.653, 83.019, 307.049 |
CIE-LUV | 32.653, 2.296, -91.297 |
Hunter-Lab | 27.163, 40.015, -81.539 |
Binary | 01010100, 00101111, 10111000 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #542fb8. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #542fb8
This text has a font color of #542fb8.
<span style="color:#542fb8;">Text here</span>
#542fb8 background color
This paragraph has a background color of #542fb8.
<p style="background-color:#542fb8;">Content here</p>
#542fb8 border color
This element has a border color of #542fb8.
<div style="border:1px solid #542fb8;">Content here</div>
CSS codes
.text {color:#542fb8;}
.background {background-color:#542fb8;}
.border {border:1px solid #542fb8;}
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, #06030c is the darkest color, while #fcfcfe is the lightest one.
-
#06030c
#06030c
rgb(6,3,12)
-
#0d071c
#0d071c
rgb(13,7,28)
-
#140b2b
#140b2b
rgb(20,11,43)
-
#1b0f3b
#1b0f3b
rgb(27,15,59)
-
#22134b
#22134b
rgb(34,19,75)
-
#29175a
#29175a
rgb(41,23,90)
-
#301b6a
#301b6a
rgb(48,27,106)
-
#371f7a
#371f7a
rgb(55,31,122)
-
#3f2389
#3f2389
rgb(63,35,137)
-
#462799
#462799
rgb(70,39,153)
-
#4d2ba8
#4d2ba8
rgb(77,43,168)
-
#542fb8
#542fb8
rgb(84,47,184)
-
#5b33c8
#5b33c8
rgb(91,51,200)
Shade Color Variation
-
#6640ce
#6640ce
rgb(102,64,206)
-
#7350d2
#7350d2
rgb(115,80,210)
-
#7f5fd6
#7f5fd6
rgb(127,95,214)
-
#8c6fda
#8c6fda
rgb(140,111,218)
-
#987fde
#987fde
rgb(152,127,222)
-
#a58ee2
#a58ee2
rgb(165,142,226)
-
#b19ee6
#b19ee6
rgb(177,158,230)
-
#beadea
#beadea
rgb(190,173,234)
-
#cabdee
#cabdee
rgb(202,189,238)
-
#d7cdf2
#d7cdf2
rgb(215,205,242)
-
#e3dcf6
#e3dcf6
rgb(227,220,246)
-
#f0ecfa
#f0ecfa
rgb(240,236,250)
-
#fcfcfe
#fcfcfe
rgb(252,252,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #716d7a is the less saturated color, while #4003e4 is the most saturated one.
-
#716d7a
#716d7a
rgb(113,109,122)
-
#6d6483
#6d6483
rgb(109,100,131)
-
#685b8c
#685b8c
rgb(104,91,140)
-
#645394
#645394
rgb(100,83,148)
-
#604a9d
#604a9d
rgb(96,74,157)
-
#5c41a6
#5c41a6
rgb(92,65,166)
-
#5838af
#5838af
rgb(88,56,175)
-
#542fb8
#542fb8
rgb(84,47,184)
-
#5026c1
#5026c1
rgb(80,38,193)
-
#4c1dca
#4c1dca
rgb(76,29,202)
-
#4814d3
#4814d3
rgb(72,20,211)
-
#440bdc
#440bdc
rgb(68,11,220)
-
#4003e4
#4003e4
rgb(64,3,228)
Tone Color Variation
Below, you can see how #542fb8 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