#542fab Color Information

In a RGB color space, hex #542fab is composed of 32.9% red, 18.4% green and 67.1% blue. Whereas in a CMYK color space, it is composed of 50.9% cyan, 72.5% magenta, 0% yellow and 32.9% black. It has a hue angle of 257.9 degrees, a saturation of 56.9% and a lightness of 42.7%. #542fab color hex could be obtained by blending #a85eff with #000057. Closest websafe color is: #663399.

    • R 33
    • G 18
    • B 67
    RGB color chart
    • C 51
    • M 73
    • Y 0
    • K 33
    CMYK color chart

#542fab color description : Dark violet.

#542fab Color Conversion

The hexadecimal color #542fab has RGB values of R:84, G:47, B:171 and CMYK values of C:0.51, M:0.73, Y:0, K:0.33. Its decimal value is 5517227.

Hex triplet 542fab #542fab
RGB Decimal 84, 47, 171 rgb(84,47,171)
RGB Percent 32.9, 18.4, 67.1 rgb(32.9%,18.4%,67.1%)
CMYK 51, 73, 0, 33
HSL 257.9°, 56.9, 42.7 hsl(257.9,56.9%,42.7%)
HSV (or HSB) 257.9°, 72.5, 67.1
Web Safe 663399 #663399
CIE-LAB 31.481, 46.326, -60.434
XYZ 12.022, 6.858, 39.216
xyY 0.207, 0.118, 6.858
CIE-LCH 31.481, 76.147, 307.472
CIE-LUV 31.481, 3.665, -83.043
Hunter-Lab 26.188, 36.116, -70.456
Binary 01010100, 00101111, 10101011

Color Schemes with #542fab

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

Alternatives to #542fab

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

Similar Colors

#542fab Preview

Text with hexadecimal color #542fab

This text has a font color of #542fab.

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

This paragraph has a background color of #542fab.

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

This element has a border color of #542fab.

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

Shades and Tints of #542fab

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

Shade Color Variation
Tint Color Variation

Tones of #542fab

A tone is produced by adding gray to any pure hue. In this case, #6c6a70 is the less saturated color, while #4305d5 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #542fab 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
  • #484848 Achromatopsia 0.005% of the population
  • #4a435c Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00519d Protanopia 1% of men
  • #00558a Deuteranopia 1% of men
  • #3d575d Tritanopia 0.001% of the population
Trichromacy
  • #1e44a2 Protanomaly 1% of men, 0.01% of women
  • #1e4796 Deuteranomaly 6% of men, 0.4% of women
  • #454879 Tritanomaly 0.01% of the population