#540c7c Color Information

In a RGB color space, hex #540c7c is composed of 32.9% red, 4.7% green and 48.6% blue. Whereas in a CMYK color space, it is composed of 32.3% cyan, 90.3% magenta, 0% yellow and 51.4% black. It has a hue angle of 278.6 degrees, a saturation of 82.4% and a lightness of 26.7%. #540c7c color hex could be obtained by blending #a818f8 with #000000. Closest websafe color is: #660066.

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

#540c7c color description : Dark violet.

#540c7c Color Conversion

The hexadecimal color #540c7c has RGB values of R:84, G:12, B:124 and CMYK values of C:0.32, M:0.9, Y:0, K:0.51. Its decimal value is 5508220.

Hex triplet 540c7c #540c7c
RGB Decimal 84, 12, 124 rgb(84,12,124)
RGB Percent 32.9, 4.7, 48.6 rgb(32.9%,4.7%,48.6%)
CMYK 32, 90, 0, 51
HSL 278.6°, 82.4, 26.7 hsl(278.6,82.4%,26.7%)
HSV (or HSB) 278.6°, 90.3, 48.6
Web Safe 660066 #660066
CIE-LAB 22.314, 48.599, -46.429
XYZ 7.425, 3.603, 19.372
xyY 0.244, 0.119, 3.603
CIE-LCH 22.314, 67.212, 316.308
CIE-LUV 22.314, 14.654, -57.194
Hunter-Lab 18.982, 36.605, -47.221
Binary 01010100, 00001100, 01111100

Color Schemes with #540c7c

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

Alternatives to #540c7c

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

Similar Colors

#540c7c Preview

Text with hexadecimal color #540c7c

This text has a font color of #540c7c.

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

This paragraph has a background color of #540c7c.

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

This element has a border color of #540c7c.

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

Shades and Tints of #540c7c

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, #0b0211 is the darkest color, while #fffeff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #540c7c

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540c7c 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
  • #2e2e2e Achromatopsia 0.005% of the population
  • #36273e Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003e78 Protanopia 1% of men
  • #00416a Deuteranopia 1% of men
  • #4e3a3e Tritanopia 0.001% of the population
Trichromacy
  • #1e2b79 Protanomaly 1% of men, 0.01% of women
  • #1e2d70 Deuteranomaly 6% of men, 0.4% of women
  • #502954 Tritanomaly 0.01% of the population