#540172 Color Information

In a RGB color space, hex #540172 is composed of 32.9% red, 0.4% green and 44.7% blue. Whereas in a CMYK color space, it is composed of 26.3% cyan, 99.1% magenta, 0% yellow and 55.3% black. It has a hue angle of 284.1 degrees, a saturation of 98.3% and a lightness of 22.5%. #540172 color hex could be obtained by blending #a802e4 with #000000. Closest websafe color is: #660066.

    • R 33
    • G 0
    • B 45
    RGB color chart
    • C 26
    • M 99
    • Y 0
    • K 55
    CMYK color chart

#540172 color description : Very dark violet.

#540172 Color Conversion

The hexadecimal color #540172 has RGB values of R:84, G:1, B:114 and CMYK values of C:0.26, M:0.99, Y:0, K:0.55. Its decimal value is 5505394.

Hex triplet 540172 #540172
RGB Decimal 84, 1, 114 rgb(84,1,114)
RGB Percent 32.9, 0.4, 44.7 rgb(32.9%,0.4%,44.7%)
CMYK 26, 99, 0, 55
HSL 284.1°, 98.3, 22.5 hsl(284.1,98.3%,22.5%)
HSV (or HSB) 284.1°, 99.1, 44.7
Web Safe 660066 #660066
CIE-LAB 20.525, 49.151, -42.934
XYZ 6.704, 3.122, 16.168
xyY 0.258, 0.12, 3.122
CIE-LCH 20.525, 65.262, 318.862
CIE-LUV 20.525, 17.336, -51.492
Hunter-Lab 17.668, 36.809, -41.888
Binary 01010100, 00000001, 01110010

Color Schemes with #540172

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

Alternatives to #540172

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

Similar Colors

#540172 Preview

Text with hexadecimal color #540172

This text has a font color of #540172.

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

This paragraph has a background color of #540172.

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

This element has a border color of #540172.

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

Shades and Tints of #540172

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

Shade Color Variation
Tint Color Variation

Tones of #540172

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540172 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
  • #272727 Achromatopsia 0.005% of the population
  • #301f36 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003a71 Protanopia 1% of men
  • #003d64 Deuteranopia 1% of men
  • #503437 Tritanopia 0.001% of the population
Trichromacy
  • #1e2571 Protanomaly 1% of men, 0.01% of women
  • #1e2769 Deuteranomaly 6% of men, 0.4% of women
  • #52214c Tritanomaly 0.01% of the population