#540c78 Color Information

In a RGB color space, hex #540c78 is composed of 32.9% red, 4.7% green and 47.1% blue. Whereas in a CMYK color space, it is composed of 30% cyan, 90% magenta, 0% yellow and 52.9% black. It has a hue angle of 280 degrees, a saturation of 81.8% and a lightness of 25.9%. #540c78 color hex could be obtained by blending #a818f0 with #000000. Closest websafe color is: #660066.

    • R 33
    • G 5
    • B 47
    RGB color chart
    • C 30
    • M 90
    • Y 0
    • K 53
    CMYK color chart

#540c78 color description : Dark violet.

#540c78 Color Conversion

The hexadecimal color #540c78 has RGB values of R:84, G:12, B:120 and CMYK values of C:0.3, M:0.9, Y:0, K:0.53. Its decimal value is 5508216.

Hex triplet 540c78 #540c78
RGB Decimal 84, 12, 120 rgb(84,12,120)
RGB Percent 32.9, 4.7, 47.1 rgb(32.9%,4.7%,47.1%)
CMYK 30, 90, 0, 53
HSL 280°, 81.8, 25.9 hsl(280,81.8%,25.9%)
HSV (or HSB) 280°, 90, 47.1
Web Safe 660066 #660066
CIE-LAB 21.959, 47.722, -44.454
XYZ 7.177, 3.504, 18.067
xyY 0.25, 0.122, 3.504
CIE-LCH 21.959, 65.22, 317.03
CIE-LUV 21.959, 15.454, -54.681
Hunter-Lab 18.719, 35.683, -44.12
Binary 01010100, 00001100, 01111000

Color Schemes with #540c78

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

Alternatives to #540c78

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

Similar Colors

#540c78 Preview

Text with hexadecimal color #540c78

This text has a font color of #540c78.

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

This paragraph has a background color of #540c78.

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

This element has a border color of #540c78.

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

Shades and Tints of #540c78

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, #09010d is the darkest color, while #fdfaff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #540c78

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540c78 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
  • #4f393c Tritanopia 0.001% of the population
Trichromacy
  • #1e2b77 Protanomaly 1% of men, 0.01% of women
  • #1e2d6e Deuteranomaly 6% of men, 0.4% of women
  • #512852 Tritanomaly 0.01% of the population