#540c8f Color Information

In a RGB color space, hex #540c8f is composed of 32.9% red, 4.7% green and 56.1% blue. Whereas in a CMYK color space, it is composed of 41.3% cyan, 91.6% magenta, 0% yellow and 43.9% black. It has a hue angle of 273 degrees, a saturation of 84.5% and a lightness of 30.4%. #540c8f color hex could be obtained by blending #a818ff with #00001f. 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

#540c8f color description : Dark violet.

#540c8f Color Conversion

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

Hex triplet 540c8f #540c8f
RGB Decimal 84, 12, 143 rgb(84,12,143)
RGB Percent 32.9, 4.7, 56.1 rgb(32.9%,4.7%,56.1%)
CMYK 41, 92, 0, 44
HSL 273°, 84.5, 30.4 hsl(273,84.5%,30.4%)
HSV (or HSB) 273°, 91.6, 56.1
Web Safe 660099 #660099
CIE-LAB 24.1, 52.877, -55.452
XYZ 8.745, 4.131, 26.322
xyY 0.223, 0.105, 4.131
CIE-LCH 24.1, 76.622, 313.639
CIE-LUV 24.1, 11.235, -68.906
Hunter-Lab 20.325, 41.231, -62.556
Binary 01010100, 00001100, 10001111

Color Schemes with #540c8f

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

Alternatives to #540c8f

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

Similar Colors

#540c8f Preview

Text with hexadecimal color #540c8f

This text has a font color of #540c8f.

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

This paragraph has a background color of #540c8f.

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

This element has a border color of #540c8f.

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

Shades and Tints of #540c8f

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

Shade Color Variation
Tint Color Variation

Tones of #540c8f

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540c8f 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
  • #1e2e85 Protanomaly 1% of men, 0.01% of women
  • #1e307b Deuteranomaly 6% of men, 0.4% of women
  • #4c2e60 Tritanomaly 0.01% of the population