#540f6b Color Information

In a RGB color space, hex #540f6b is composed of 32.9% red, 5.9% green and 42% blue. Whereas in a CMYK color space, it is composed of 21.5% cyan, 86% magenta, 0% yellow and 58% black. It has a hue angle of 285 degrees, a saturation of 75.4% and a lightness of 23.9%. #540f6b color hex could be obtained by blending #a81ed6 with #000000. Closest websafe color is: #660066.

    • R 33
    • G 6
    • B 42
    RGB color chart
    • C 21
    • M 86
    • Y 0
    • K 58
    CMYK color chart

#540f6b color description : Very dark magenta.

#540f6b Color Conversion

The hexadecimal color #540f6b has RGB values of R:84, G:15, B:107 and CMYK values of C:0.21, M:0.86, Y:0, K:0.58. Its decimal value is 5508971.

Hex triplet 540f6b #540f6b
RGB Decimal 84, 15, 107 rgb(84,15,107)
RGB Percent 32.9, 5.9, 42 rgb(32.9%,5.9%,42%)
CMYK 21, 86, 0, 58
HSL 285°, 75.4, 23.9 hsl(285,75.4%,23.9%)
HSV (or HSB) 285°, 86, 42
Web Safe 660066 #660066
CIE-LAB 21.163, 44.078, -37.355
XYZ 6.48, 3.288, 14.202
xyY 0.27, 0.137, 3.288
CIE-LCH 21.163, 57.778, 319.72
CIE-LUV 21.163, 18.038, -46.115
Hunter-Lab 18.134, 32.058, -33.743
Binary 01010100, 00001111, 01101011

Color Schemes with #540f6b

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

Alternatives to #540f6b

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

Similar Colors

#540f6b Preview

Text with hexadecimal color #540f6b

This text has a font color of #540f6b.

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

This paragraph has a background color of #540f6b.

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

This element has a border color of #540f6b.

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

Shades and Tints of #540f6b

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, #030104 is the darkest color, while #faf2fd is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #540f6b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540f6b 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
  • #2e2e2e Achromatopsia 0.005% of the population
  • #36283a Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003b74 Protanopia 1% of men
  • #003e68 Deuteranopia 1% of men
  • #523538 Tritanopia 0.001% of the population
Trichromacy
  • #1e2b70 Protanomaly 1% of men, 0.01% of women
  • #1e2d69 Deuteranomaly 6% of men, 0.4% of women
  • #53274a Tritanomaly 0.01% of the population