#540c8a Color Information

In a RGB color space, hex #540c8a is composed of 32.9% red, 4.7% green and 54.1% blue. Whereas in a CMYK color space, it is composed of 39.1% cyan, 91.3% magenta, 0% yellow and 45.9% black. It has a hue angle of 274.3 degrees, a saturation of 84% and a lightness of 29.4%. #540c8a color hex could be obtained by blending #a818ff with #000015. Closest websafe color is: #660099.

    • R 33
    • G 5
    • B 54
    RGB color chart
    • C 39
    • M 91
    • Y 0
    • K 46
    CMYK color chart

#540c8a color description : Dark violet.

#540c8a Color Conversion

The hexadecimal color #540c8a has RGB values of R:84, G:12, B:138 and CMYK values of C:0.39, M:0.91, Y:0, K:0.46. Its decimal value is 5508234.

Hex triplet 540c8a #540c8a
RGB Decimal 84, 12, 138 rgb(84,12,138)
RGB Percent 32.9, 4.7, 54.1 rgb(32.9%,4.7%,54.1%)
CMYK 39, 91, 0, 46
HSL 274.3°, 84, 29.4 hsl(274.3,84%,29.4%)
HSV (or HSB) 274.3°, 91.3, 54.1
Web Safe 660099 #660099
CIE-LAB 23.615, 51.736, -53.131
XYZ 8.374, 3.983, 24.371
xyY 0.228, 0.108, 3.983
CIE-LCH 23.615, 74.159, 314.238
CIE-LUV 23.615, 12.078, -65.857
Hunter-Lab 19.957, 39.977, -58.433
Binary 01010100, 00001100, 10001010

Color Schemes with #540c8a

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

Alternatives to #540c8a

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

Similar Colors

#540c8a Preview

Text with hexadecimal color #540c8a

This text has a font color of #540c8a.

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

This paragraph has a background color of #540c8a.

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

This element has a border color of #540c8a.

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

Shades and Tints of #540c8a

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, #07010c is the darkest color, while #fcf9fe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #540c8a

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540c8a 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
  • #372942 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00407d Protanopia 1% of men
  • #00446e Deuteranopia 1% of men
  • #4a3f44 Tritanopia 0.001% of the population
Trichromacy
  • #1e2d82 Protanomaly 1% of men, 0.01% of women
  • #1e2f78 Deuteranomaly 6% of men, 0.4% of women
  • #4d2d5d Tritanomaly 0.01% of the population