#540c7e Color Information

In a RGB color space, hex #540c7e is composed of 32.9% red, 4.7% green and 49.4% blue. Whereas in a CMYK color space, it is composed of 33.3% cyan, 90.5% magenta, 0% yellow and 50.6% black. It has a hue angle of 277.9 degrees, a saturation of 82.6% and a lightness of 27.1%. #540c7e color hex could be obtained by blending #a818fc with #000000. Closest websafe color is: #660066.

    • R 33
    • G 5
    • B 49
    RGB color chart
    • C 33
    • M 90
    • Y 0
    • K 51
    CMYK color chart

#540c7e color description : Dark violet.

#540c7e Color Conversion

The hexadecimal color #540c7e has RGB values of R:84, G:12, B:126 and CMYK values of C:0.33, M:0.9, Y:0, K:0.51. Its decimal value is 5508222.

Hex triplet 540c7e #540c7e
RGB Decimal 84, 12, 126 rgb(84,12,126)
RGB Percent 32.9, 4.7, 49.4 rgb(32.9%,4.7%,49.4%)
CMYK 33, 90, 0, 51
HSL 277.9°, 82.6, 27.1 hsl(277.9,82.6%,27.1%)
HSV (or HSB) 277.9°, 90.5, 49.4
Web Safe 660066 #660066
CIE-LAB 22.494, 49.04, -47.406
XYZ 7.553, 3.654, 20.045
xyY 0.242, 0.117, 3.654
CIE-LCH 22.494, 68.208, 315.971
CIE-LUV 22.494, 14.265, -58.444
Hunter-Lab 19.116, 37.073, -48.789
Binary 01010100, 00001100, 01111110

Color Schemes with #540c7e

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

Alternatives to #540c7e

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

Similar Colors

#540c7e Preview

Text with hexadecimal color #540c7e

This text has a font color of #540c7e.

<span style="color:#540c7e;">Text here</span>
#540c7e background color

This paragraph has a background color of #540c7e.

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

This element has a border color of #540c7e.

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

Shades and Tints of #540c7e

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

Shade Color Variation
Tint Color Variation

Tones of #540c7e

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540c7e 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
  • #2f2f2f Achromatopsia 0.005% of the population
  • #36283f Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003e79 Protanopia 1% of men
  • #00416a Deuteranopia 1% of men
  • #4d3b3f Tritanopia 0.001% of the population
Trichromacy
  • #1e2c7b Protanomaly 1% of men, 0.01% of women
  • #1e2e71 Deuteranomaly 6% of men, 0.4% of women
  • #502a56 Tritanomaly 0.01% of the population