colorhexa.com

#542a8e hex color

In a RGB color space, hex #542a8e is composed of 32.9% red, 16.5% green and 55.7% blue. Whereas in a CMYK color space, it is composed of 40.8% cyan, 70.4% magenta, 0% yellow and 44.3% black. It has a hue angle of 265.2 degrees, a saturation of 54.3% and a lightness of 36.1%. #542a8e color hex could be obtained by blending #a854ff with #00001d. Closest websafe color is: #663399.

    • R 33
    • G 16
    • B 56

    RGB color chart

    • C 41
    • M 70
    • Y 0
    • K 44

    CMYK color chart

#542a8e color description : Dark violet.

The hexadecimal color #542a8e has RGB values of R:84, G:42, B:142 and CMYK values of C:0.41, M:0.7, Y:0, K:0.44. Its decimal value is 5515918.

Hex triplet 542a8e #542a8e
RGB Decimal 84, 42, 142 rgb(84,42,142)
RGB Percent 32.9, 16.5, 55.7 rgb(32.9%,16.5%,55.7%)
CMYK 41, 70, 0, 44
HSL 265.2°, 54.3, 36.1 hsl(265.2,54.3%,36.1%)
HSV (or HSB) 265.2°, 70.4, 55.7
Web Safe 663399 #663399
CIE-LAB 28.098, 40.868, -48.298
XYZ 9.366, 5.494, 26.157
xyY 0.228, 0.134, 5.494
CIE-LCH 28.098, 63.268, 310.236
CIE-LUV 28.098, 8.116, -64.983
Hunter-Lab 23.439, 30.308, -49.758
Binary 01010100, 00101010, 10001110

Complementary Color

Analogous Color

Split Complementary Color

Triadic Color

Tetradic Color

Monochromatic Color

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

Similar Colors

Text with hexadecimal color #542a8e

This text has a font color of #542a8e.

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

#542a8e background color

This paragraph has a background color of #542a8e.

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

#542a8e border color

This element has a border color of #542a8e.

<div style="border:1px solid #542a8e;">Content here</div>

CSS codes

.text {color:#542a8e;}
.background {background-color:#542a8e;}
.border {border:1px solid #542a8e;}

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

Shade Color Variation

Tint Color Variation

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

Tone Color Variation

Below, you can see how #542a8e 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

  • #424242 Achromatopsia 0.005% of the population
  • #463d51 Atypical Achromatopsia 0.001% of the population

Dichromacy

  • #004990 Protanopia 1% of men
  • #004d7f Deuteranopia 1% of men
  • #4a4b51 Tritanopia 0.001% of the population

Trichromacy

  • #1e3e8f Protanomaly 1% of men, 0.01% of women
  • #1e4084 Deuteranomaly 6% of men, 0.4% of women
  • #4e3f67 Tritanomaly 0.01% of the population