#540b8c Color Information

In a RGB color space, hex #540b8c is composed of 32.9% red, 4.3% green and 54.9% blue. Whereas in a CMYK color space, it is composed of 40% cyan, 92.1% magenta, 0% yellow and 45.1% black. It has a hue angle of 274 degrees, a saturation of 85.4% and a lightness of 29.6%. #540b8c color hex could be obtained by blending #a816ff with #000019. Closest websafe color is: #660099.

    • R 33
    • G 4
    • B 55
    RGB color chart
    • C 40
    • M 92
    • Y 0
    • K 45
    CMYK color chart

#540b8c color description : Dark violet.

#540b8c Color Conversion

The hexadecimal color #540b8c has RGB values of R:84, G:11, B:140 and CMYK values of C:0.4, M:0.92, Y:0, K:0.45. Its decimal value is 5507980.

Hex triplet 540b8c #540b8c
RGB Decimal 84, 11, 140 rgb(84,11,140)
RGB Percent 32.9, 4.3, 54.9 rgb(32.9%,4.3%,54.9%)
CMYK 40, 92, 0, 45
HSL 274°, 85.4, 29.6 hsl(274,85.4%,29.6%)
HSV (or HSB) 274°, 92.1, 54.9
Web Safe 660099 #660099
CIE-LAB 23.73, 52.422, -54.191
XYZ 8.509, 4.018, 25.137
xyY 0.226, 0.107, 4.018
CIE-LCH 23.73, 75.398, 314.05
CIE-LUV 23.73, 11.788, -67.112
Hunter-Lab 20.044, 40.695, -60.322
Binary 01010100, 00001011, 10001100

Color Schemes with #540b8c

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

Alternatives to #540b8c

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

Similar Colors

#540b8c Preview

Text with hexadecimal color #540b8c

This text has a font color of #540b8c.

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

This paragraph has a background color of #540b8c.

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

This element has a border color of #540b8c.

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

Shades and Tints of #540b8c

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

Shade Color Variation
Tint Color Variation

Tones of #540b8c

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540b8c 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
  • #00407e Protanopia 1% of men
  • #00446e Deuteranopia 1% of men
  • #494045 Tritanopia 0.001% of the population
Trichromacy
  • #1e2d83 Protanomaly 1% of men, 0.01% of women
  • #1e2f79 Deuteranomaly 6% of men, 0.4% of women
  • #4d2d5e Tritanomaly 0.01% of the population