#540c7a Color Information

In a RGB color space, hex #540c7a is composed of 32.9% red, 4.7% green and 47.8% blue. Whereas in a CMYK color space, it is composed of 31.1% cyan, 90.2% magenta, 0% yellow and 52.2% black. It has a hue angle of 279.3 degrees, a saturation of 82.1% and a lightness of 26.3%. #540c7a color hex could be obtained by blending #a818f4 with #000000. Closest websafe color is: #660066.

    • R 33
    • G 5
    • B 48
    RGB color chart
    • C 31
    • M 90
    • Y 0
    • K 52
    CMYK color chart

#540c7a color description : Dark violet.

#540c7a Color Conversion

The hexadecimal color #540c7a has RGB values of R:84, G:12, B:122 and CMYK values of C:0.31, M:0.9, Y:0, K:0.52. Its decimal value is 5508218.

Hex triplet 540c7a #540c7a
RGB Decimal 84, 12, 122 rgb(84,12,122)
RGB Percent 32.9, 4.7, 47.8 rgb(32.9%,4.7%,47.8%)
CMYK 31, 90, 0, 52
HSL 279.3°, 82.1, 26.3 hsl(279.3,82.1%,26.3%)
HSV (or HSB) 279.3°, 90.2, 47.8
Web Safe 660066 #660066
CIE-LAB 22.135, 48.159, -45.445
XYZ 7.3, 3.553, 18.713
xyY 0.247, 0.12, 3.553
CIE-LCH 22.135, 66.216, 316.661
CIE-LUV 22.135, 15.05, -55.94
Hunter-Lab 18.85, 36.141, -45.664
Binary 01010100, 00001100, 01111010

Color Schemes with #540c7a

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

Alternatives to #540c7a

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

Similar Colors

#540c7a Preview

Text with hexadecimal color #540c7a

This text has a font color of #540c7a.

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

This paragraph has a background color of #540c7a.

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

This element has a border color of #540c7a.

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

Shades and Tints of #540c7a

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

Shade Color Variation
Tint Color Variation

Tones of #540c7a

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540c7a 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
  • #36273d Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003d77 Protanopia 1% of men
  • #004069 Deuteranopia 1% of men
  • #4f393d Tritanopia 0.001% of the population
Trichromacy
  • #1e2b78 Protanomaly 1% of men, 0.01% of women
  • #1e2d6f Deuteranomaly 6% of men, 0.4% of women
  • #502953 Tritanomaly 0.01% of the population