#540c8e Color Information

In a RGB color space, hex #540c8e is composed of 32.9% red, 4.7% green and 55.7% blue. Whereas in a CMYK color space, it is composed of 40.8% cyan, 91.5% magenta, 0% yellow and 44.3% black. It has a hue angle of 273.2 degrees, a saturation of 84.4% and a lightness of 30.2%. #540c8e color hex could be obtained by blending #a818ff with #00001d. Closest websafe color is: #660099.

    • R 33
    • G 5
    • B 56
    RGB color chart
    • C 41
    • M 92
    • Y 0
    • K 44
    CMYK color chart

#540c8e color description : Dark violet.

#540c8e Color Conversion

The hexadecimal color #540c8e has RGB values of R:84, G:12, B:142 and CMYK values of C:0.41, M:0.92, Y:0, K:0.44. Its decimal value is 5508238.

Hex triplet 540c8e #540c8e
RGB Decimal 84, 12, 142 rgb(84,12,142)
RGB Percent 32.9, 4.7, 55.7 rgb(32.9%,4.7%,55.7%)
CMYK 41, 92, 0, 44
HSL 273.2°, 84.4, 30.2 hsl(273.2,84.4%,30.2%)
HSV (or HSB) 273.2°, 91.5, 55.7
Web Safe 660099 #660099
CIE-LAB 24.002, 52.648, -54.991
XYZ 8.669, 4.101, 25.925
xyY 0.224, 0.106, 4.101
CIE-LCH 24.002, 76.13, 313.753
CIE-LUV 24.002, 11.401, -68.298
Hunter-Lab 20.251, 40.978, -61.727
Binary 01010100, 00001100, 10001110

Color Schemes with #540c8e

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

Alternatives to #540c8e

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

Similar Colors

#540c8e Preview

Text with hexadecimal color #540c8e

This text has a font color of #540c8e.

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

This paragraph has a background color of #540c8e.

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

This element has a border color of #540c8e.

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

Shades and Tints of #540c8e

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

Shade Color Variation
Tint Color Variation

Tones of #540c8e

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540c8e 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
  • #303030 Achromatopsia 0.005% of the population
  • #372943 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00417f Protanopia 1% of men
  • #00456f Deuteranopia 1% of men
  • #484146 Tritanopia 0.001% of the population
Trichromacy
  • #1e2e84 Protanomaly 1% of men, 0.01% of women
  • #1e307a Deuteranomaly 6% of men, 0.4% of women
  • #4c2e60 Tritanomaly 0.01% of the population