#5b157f Color Information

In a RGB color space, hex #5b157f is composed of 35.7% red, 8.2% green and 49.8% blue. Whereas in a CMYK color space, it is composed of 28.3% cyan, 83.5% magenta, 0% yellow and 50.2% black. It has a hue angle of 279.6 degrees, a saturation of 71.6% and a lightness of 29%. #5b157f color hex could be obtained by blending #b62afe with #000000. Closest websafe color is: #660066.

    • R 36
    • G 8
    • B 50
    RGB color chart
    • C 28
    • M 83
    • Y 0
    • K 50
    CMYK color chart

#5b157f color description : Dark violet.

#5b157f Color Conversion

The hexadecimal color #5b157f has RGB values of R:91, G:21, B:127 and CMYK values of C:0.28, M:0.83, Y:0, K:0.5. Its decimal value is 5969279.

Hex triplet 5b157f #5b157f
RGB Decimal 91, 21, 127 rgb(91,21,127)
RGB Percent 35.7, 8.2, 49.8 rgb(35.7%,8.2%,49.8%)
CMYK 28, 83, 0, 50
HSL 279.6°, 71.6, 29 hsl(279.6,71.6%,29%)
HSV (or HSB) 279.6°, 83.5, 49.8
Web Safe 660066 #660066
CIE-LAB 24.617, 47.753, -44.53
XYZ 8.413, 4.293, 20.463
xyY 0.254, 0.129, 4.293
CIE-LCH 24.617, 65.294, 317
CIE-LUV 24.617, 16.936, -57.74
Hunter-Lab 20.72, 36.217, -44.052
Binary 01011011, 00010101, 01111111

Color Schemes with #5b157f

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

Alternatives to #5b157f

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

Similar Colors

#5b157f Preview

Text with hexadecimal color #5b157f

This text has a font color of #5b157f.

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

This paragraph has a background color of #5b157f.

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

This element has a border color of #5b157f.

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

Shades and Tints of #5b157f

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

Shade Color Variation
Tint Color Variation

Tones of #5b157f

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5b157f 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
  • #363636 Achromatopsia 0.005% of the population
  • #3d2f45 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004281 Protanopia 1% of men
  • #004673 Deuteranopia 1% of men
  • #563e42 Tritanopia 0.001% of the population
Trichromacy
  • #213280 Protanomaly 1% of men, 0.01% of women
  • #213477 Deuteranomaly 6% of men, 0.4% of women
  • #582f58 Tritanomaly 0.01% of the population