#540d8b Color Information

In a RGB color space, hex #540d8b is composed of 32.9% red, 5.1% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 39.6% cyan, 90.6% magenta, 0% yellow and 45.5% black. It has a hue angle of 273.8 degrees, a saturation of 82.9% and a lightness of 29.8%. #540d8b color hex could be obtained by blending #a81aff with #000017. Closest websafe color is: #660099.

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

#540d8b color description : Dark violet.

#540d8b Color Conversion

The hexadecimal color #540d8b has RGB values of R:84, G:13, B:139 and CMYK values of C:0.4, M:0.91, Y:0, K:0.45. Its decimal value is 5508491.

Hex triplet 540d8b #540d8b
RGB Decimal 84, 13, 139 rgb(84,13,139)
RGB Percent 32.9, 5.1, 54.5 rgb(32.9%,5.1%,54.5%)
CMYK 40, 91, 0, 45
HSL 273.8°, 82.9, 29.8 hsl(273.8,82.9%,29.8%)
HSV (or HSB) 273.8°, 90.6, 54.5
Web Safe 660099 #660099
CIE-LAB 23.793, 51.719, -53.464
XYZ 8.46, 4.037, 24.758
xyY 0.227, 0.108, 4.037
CIE-LCH 23.793, 74.386, 314.05
CIE-LUV 23.793, 11.852, -66.432
Hunter-Lab 20.092, 39.995, -58.996
Binary 01010100, 00001101, 10001011

Color Schemes with #540d8b

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

Alternatives to #540d8b

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

Similar Colors

#540d8b Preview

Text with hexadecimal color #540d8b

This text has a font color of #540d8b.

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

This paragraph has a background color of #540d8b.

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

This element has a border color of #540d8b.

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

Shades and Tints of #540d8b

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 #fdfaff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #540d8b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540d8b 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
  • #313131 Achromatopsia 0.005% of the population
  • #382a43 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00417e Protanopia 1% of men
  • #00446e Deuteranopia 1% of men
  • #494045 Tritanopia 0.001% of the population
Trichromacy
  • #1e2e82 Protanomaly 1% of men, 0.01% of women
  • #1e3079 Deuteranomaly 6% of men, 0.4% of women
  • #4d2d5e Tritanomaly 0.01% of the population