#542f87 hex color
In a RGB color space, hex #542f87 is composed of 32.9% red, 18.4% green and 52.9% blue. Whereas in a CMYK color space, it is composed of 37.8% cyan, 65.2% magenta, 0% yellow and 47.1% black. It has a hue angle of 265.2 degrees, a saturation of 48.4% and a lightness of 35.7%. #542f87 color hex could be obtained by blending #a85eff with #00000f. Closest websafe color is: #663399.
-
- R 33
- G 18
- B 53
RGB color chart
-
- C 38
- M 65
- Y 0
- K 47
CMYK color chart
● #542f87 color description : Dark moderate violet.
The hexadecimal color #542f87 has RGB values of R:84, G:47, B:135 and CMYK values of C:0.38, M:0.65, Y:0, K:0.47. Its decimal value is 5517191.
Hex triplet | 542f87 | #542f87 |
---|---|---|
RGB Decimal | 84, 47, 135 | rgb(84,47,135) |
RGB Percent | 32.9, 18.4, 52.9 | rgb(32.9%,18.4%,52.9%) |
CMYK | 38, 65, 0, 47 | |
HSL | 265.2°, 48.4, 35.7 | hsl(265.2,48.4%,35.7%) |
HSV (or HSB) | 265.2°, 65.2, 52.9 | |
Web Safe | 663399 | #663399 |
CIE-LAB | 28.557, 36.222, -43.21 |
---|---|
XYZ | 9.045, 5.667, 23.538 |
xyY | 0.236, 0.148, 5.667 |
CIE-LCH | 28.557, 56.384, 309.972 |
CIE-LUV | 28.557, 8.123, -58.875 |
Hunter-Lab | 23.806, 26.162, -41.958 |
Binary | 01010100, 00101111, 10000111 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #542f87. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #542f87
This text has a font color of #542f87.
<span style="color:#542f87;">Text here</span>
#542f87 background color
This paragraph has a background color of #542f87.
<p style="background-color:#542f87;">Content here</p>
#542f87 border color
This element has a border color of #542f87.
<div style="border:1px solid #542f87;">Content here</div>
CSS codes
.text {color:#542f87;}
.background {background-color:#542f87;}
.border {border:1px solid #542f87;}
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, #030104 is the darkest color, while #f7f5fb is the lightest one.
-
#030104
#030104
rgb(3,1,4)
-
#0c0613
#0c0613
rgb(12,6,19)
-
#150c21
#150c21
rgb(21,12,33)
-
#1e1130
#1e1130
rgb(30,17,48)
-
#27163e
#27163e
rgb(39,22,62)
-
#301b4d
#301b4d
rgb(48,27,77)
-
#39205b
#39205b
rgb(57,32,91)
-
#42256a
#42256a
rgb(66,37,106)
-
#4b2a78
#4b2a78
rgb(75,42,120)
-
#542f87
#542f87
rgb(84,47,135)
-
#5d3496
#5d3496
rgb(93,52,150)
-
#6639a4
#6639a4
rgb(102,57,164)
-
#6f3eb3
#6f3eb3
rgb(111,62,179)
Shade Color Variation
-
#7946bf
#7946bf
rgb(121,70,191)
-
#8354c4
#8354c4
rgb(131,84,196)
-
#8e63c9
#8e63c9
rgb(142,99,201)
-
#9872ce
#9872ce
rgb(152,114,206)
-
#a380d3
#a380d3
rgb(163,128,211)
-
#ad8fd8
#ad8fd8
rgb(173,143,216)
-
#b89ddd
#b89ddd
rgb(184,157,221)
-
#c3ace2
#c3ace2
rgb(195,172,226)
-
#cdbae7
#cdbae7
rgb(205,186,231)
-
#d8c9ec
#d8c9ec
rgb(216,201,236)
-
#e2d7f1
#e2d7f1
rgb(226,215,241)
-
#ede6f6
#ede6f6
rgb(237,230,246)
-
#f7f5fb
#f7f5fb
rgb(247,245,251)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #5b595d is the less saturated color, while #4d05b1 is the most saturated one.
-
#5b595d
#5b595d
rgb(91,89,93)
-
#5a5264
#5a5264
rgb(90,82,100)
-
#584b6b
#584b6b
rgb(88,75,107)
-
#574472
#574472
rgb(87,68,114)
-
#563d79
#563d79
rgb(86,61,121)
-
#553680
#553680
rgb(85,54,128)
-
#542f87
#542f87
rgb(84,47,135)
-
#53288e
#53288e
rgb(83,40,142)
-
#522195
#522195
rgb(82,33,149)
-
#511a9c
#511a9c
rgb(81,26,156)
-
#5013a3
#5013a3
rgb(80,19,163)
-
#4e0caa
#4e0caa
rgb(78,12,170)
-
#4d05b1
#4d05b1
rgb(77,5,177)
Tone Color Variation
Below, you can see how #542f87 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