#51158b Color Information

In a RGB color space, hex #51158b is composed of 31.8% red, 8.2% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 41.7% cyan, 84.9% magenta, 0% yellow and 45.5% black. It has a hue angle of 270.5 degrees, a saturation of 73.8% and a lightness of 31.4%. #51158b color hex could be obtained by blending #a22aff with #000017. Closest websafe color is: #660099.

    • R 32
    • G 8
    • B 55
    RGB color chart
    • C 42
    • M 85
    • Y 0
    • K 45
    CMYK color chart

#51158b color description : Dark violet.

#51158b Color Conversion

The hexadecimal color #51158b has RGB values of R:81, G:21, B:139 and CMYK values of C:0.42, M:0.85, Y:0, K:0.45. Its decimal value is 5313931.

Hex triplet 51158b #51158b
RGB Decimal 81, 21, 139 rgb(81,21,139)
RGB Percent 31.8, 8.2, 54.5 rgb(31.8%,8.2%,54.5%)
CMYK 42, 85, 0, 45
HSL 270.5°, 73.8, 31.4 hsl(270.5,73.8%,31.4%)
HSV (or HSB) 270.5°, 84.9, 54.5
Web Safe 660099 #660099
CIE-LAB 24.161, 48.909, -52.877
XYZ 8.321, 4.15, 24.787
xyY 0.223, 0.111, 4.15
CIE-LCH 24.161, 72.028, 312.767
CIE-LUV 24.161, 9.993, -66.159
Hunter-Lab 20.371, 37.262, -57.884
Binary 01010001, 00010101, 10001011

Color Schemes with #51158b

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

Alternatives to #51158b

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

Similar Colors

#51158b Preview

Text with hexadecimal color #51158b

This text has a font color of #51158b.

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

This paragraph has a background color of #51158b.

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

This element has a border color of #51158b.

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

Shades and Tints of #51158b

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

Shade Color Variation
Tint Color Variation

Tones of #51158b

A tone is produced by adding gray to any pure hue. In this case, #504c54 is the less saturated color, while #51039d is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #51158b 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
  • #343434 Achromatopsia 0.005% of the population
  • #3a2e45 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00417f Protanopia 1% of men
  • #004570 Deuteranopia 1% of men
  • #464247 Tritanopia 0.001% of the population
Trichromacy
  • #1d3183 Protanomaly 1% of men, 0.01% of women
  • #1d3379 Deuteranomaly 6% of men, 0.4% of women
  • #4a325f Tritanomaly 0.01% of the population