#542f8b Color Information

In a RGB color space, hex #542f8b is composed of 32.9% red, 18.4% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 39.6% cyan, 66.2% magenta, 0% yellow and 45.5% black. It has a hue angle of 264.1 degrees, a saturation of 49.5% and a lightness of 36.5%. #542f8b color hex could be obtained by blending #a85eff with #000017. Closest websafe color is: #663399.

    • R 33
    • G 18
    • B 55
    RGB color chart
    • C 40
    • M 66
    • Y 0
    • K 45
    CMYK color chart

#542f8b color description : Dark moderate violet.

#542f8b Color Conversion

The hexadecimal color #542f8b has RGB values of R:84, G:47, B:139 and CMYK values of C:0.4, M:0.66, Y:0, K:0.45. Its decimal value is 5517195.

Hex triplet 542f8b #542f8b
RGB Decimal 84, 47, 139 rgb(84,47,139)
RGB Percent 32.9, 18.4, 54.5 rgb(32.9%,18.4%,54.5%)
CMYK 40, 66, 0, 45
HSL 264.1°, 49.5, 36.5 hsl(264.1,49.5%,36.5%)
HSV (or HSB) 264.1°, 66.2, 54.5
Web Safe 663399 #663399
CIE-LAB 28.855, 37.323, -45.211
XYZ 9.332, 5.782, 25.049
xyY 0.232, 0.144, 5.782
CIE-LCH 28.855, 58.627, 309.541
CIE-LUV 28.855, 7.573, -61.668
Hunter-Lab 24.046, 27.196, -44.932
Binary 01010100, 00101111, 10001011

Color Schemes with #542f8b

Complementary Color
Analogous Color
Split Complementary Color
Triadic Color
Tetradic Color
Monochromatic Color

Alternatives to #542f8b

Below, you can see some colors close to #542f8b. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.

Similar Colors

#542f8b Preview

Text with hexadecimal color #542f8b

This text has a font color of #542f8b.

<span style="color:#542f8b;">Text here</span>
#542f8b background color

This paragraph has a background color of #542f8b.

<p style="background-color:#542f8b;">Content here</p>
#542f8b border color

This element has a border color of #542f8b.

<div style="border:1px solid #542f8b;">Content here</div>
CSS codes
.text {color:#542f8b;}
.background {background-color:#542f8b;}
.border {border:1px solid #542f8b;}

Shades and Tints of #542f8b

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, #040207 is the darkest color, while #f9f7fc is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #542f8b

A tone is produced by adding gray to any pure hue. In this case, #5c5a60 is the less saturated color, while #4c04b6 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #542f8b 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
  • #454545 Achromatopsia 0.005% of the population
  • #484153 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004b93 Protanopia 1% of men
  • #004f82 Deuteranopia 1% of men
  • #4c4d53 Tritanopia 0.001% of the population
Trichromacy
  • #1e4190 Protanomaly 1% of men, 0.01% of women
  • #1e4385 Deuteranomaly 6% of men, 0.4% of women
  • #4f4267 Tritanomaly 0.01% of the population