#542f98 Color Information

In a RGB color space, hex #542f98 is composed of 32.9% red, 18.4% green and 59.6% blue. Whereas in a CMYK color space, it is composed of 44.7% cyan, 69.1% magenta, 0% yellow and 40.4% black. It has a hue angle of 261.1 degrees, a saturation of 52.8% and a lightness of 39%. #542f98 color hex could be obtained by blending #a85eff with #000031. Closest websafe color is: #663399.

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

#542f98 color description : Dark moderate violet.

#542f98 Color Conversion

The hexadecimal color #542f98 has RGB values of R:84, G:47, B:152 and CMYK values of C:0.45, M:0.69, Y:0, K:0.4. Its decimal value is 5517208.

Hex triplet 542f98 #542f98
RGB Decimal 84, 47, 152 rgb(84,47,152)
RGB Percent 32.9, 18.4, 59.6 rgb(32.9%,18.4%,59.6%)
CMYK 45, 69, 0, 40
HSL 261.1°, 52.8, 39 hsl(261.1,52.8%,39%)
HSV (or HSB) 261.1°, 69.1, 59.6
Web Safe 663399 #663399
CIE-LAB 29.874, 40.949, -51.557
XYZ 10.339, 6.185, 30.353
xyY 0.221, 0.132, 6.185
CIE-LCH 29.874, 65.841, 308.458
CIE-LUV 29.874, 5.885, -70.552
Hunter-Lab 24.869, 30.689, -54.956
Binary 01010100, 00101111, 10011000

Color Schemes with #542f98

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

Alternatives to #542f98

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

Similar Colors

#542f98 Preview

Text with hexadecimal color #542f98

This text has a font color of #542f98.

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

This paragraph has a background color of #542f98.

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

This element has a border color of #542f98.

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

Shades and Tints of #542f98

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

Shade Color Variation
Tint Color Variation

Tones of #542f98

A tone is produced by adding gray to any pure hue. In this case, #625d6a is the less saturated color, while #4601c6 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #542f98 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
  • #464646 Achromatopsia 0.005% of the population
  • #494156 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004d97 Protanopia 1% of men
  • #005185 Deuteranopia 1% of men
  • #475157 Tritanopia 0.001% of the population
Trichromacy
  • #1e4297 Protanomaly 1% of men, 0.01% of women
  • #1e458c Deuteranomaly 6% of men, 0.4% of women
  • #4b446e Tritanomaly 0.01% of the population