#540c7b Color Information

In a RGB color space, hex #540c7b is composed of 32.9% red, 4.7% green and 48.2% blue. Whereas in a CMYK color space, it is composed of 31.7% cyan, 90.2% magenta, 0% yellow and 51.8% black. It has a hue angle of 278.9 degrees, a saturation of 82.2% and a lightness of 26.5%. #540c7b color hex could be obtained by blending #a818f6 with #000000. Closest websafe color is: #660066.

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

#540c7b color description : Dark violet.

#540c7b Color Conversion

The hexadecimal color #540c7b has RGB values of R:84, G:12, B:123 and CMYK values of C:0.32, M:0.9, Y:0, K:0.52. Its decimal value is 5508219.

Hex triplet 540c7b #540c7b
RGB Decimal 84, 12, 123 rgb(84,12,123)
RGB Percent 32.9, 4.7, 48.2 rgb(32.9%,4.7%,48.2%)
CMYK 32, 90, 0, 52
HSL 278.9°, 82.2, 26.5 hsl(278.9,82.2%,26.5%)
HSV (or HSB) 278.9°, 90.2, 48.2
Web Safe 660066 #660066
CIE-LAB 22.224, 48.378, -45.938
XYZ 7.362, 3.578, 19.041
xyY 0.246, 0.119, 3.578
CIE-LCH 22.224, 66.714, 316.482
CIE-LUV 22.224, 14.851, -56.568
Hunter-Lab 18.916, 36.373, -46.441
Binary 01010100, 00001100, 01111011

Color Schemes with #540c7b

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

Alternatives to #540c7b

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

Similar Colors

#540c7b Preview

Text with hexadecimal color #540c7b

This text has a font color of #540c7b.

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

This paragraph has a background color of #540c7b.

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

This element has a border color of #540c7b.

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

Shades and Tints of #540c7b

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

Shade Color Variation
Tint Color Variation

Tones of #540c7b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540c7b 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
  • #003d78 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