#5f157e Color Information

In a RGB color space, hex #5f157e is composed of 37.3% red, 8.2% green and 49.4% blue. Whereas in a CMYK color space, it is composed of 24.6% cyan, 83.3% magenta, 0% yellow and 50.6% black. It has a hue angle of 282.3 degrees, a saturation of 71.4% and a lightness of 28.8%. #5f157e color hex could be obtained by blending #be2afc with #000000. Closest websafe color is: #660066.

    • R 37
    • G 8
    • B 49
    RGB color chart
    • C 25
    • M 83
    • Y 0
    • K 51
    CMYK color chart

#5f157e color description : Dark violet.

#5f157e Color Conversion

The hexadecimal color #5f157e has RGB values of R:95, G:21, B:126 and CMYK values of C:0.25, M:0.83, Y:0, K:0.51. Its decimal value is 6231422.

Hex triplet 5f157e #5f157e
RGB Decimal 95, 21, 126 rgb(95,21,126)
RGB Percent 37.3, 8.2, 49.4 rgb(37.3%,8.2%,49.4%)
CMYK 25, 83, 0, 51
HSL 282.3°, 71.4, 28.8 hsl(282.3,71.4%,28.8%)
HSV (or HSB) 282.3°, 83.3, 49.4
Web Safe 660066 #660066
CIE-LAB 25.186, 48.265, -42.944
XYZ 8.753, 4.476, 20.14
xyY 0.262, 0.134, 4.476
CIE-LCH 25.186, 64.604, 318.339
CIE-LUV 25.186, 19.32, -56.584
Hunter-Lab 21.156, 36.826, -41.633
Binary 01011111, 00010101, 01111110

Color Schemes with #5f157e

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

Alternatives to #5f157e

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

Similar Colors

#5f157e Preview

Text with hexadecimal color #5f157e

This text has a font color of #5f157e.

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

This paragraph has a background color of #5f157e.

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

This element has a border color of #5f157e.

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

Shades and Tints of #5f157e

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

Shade Color Variation
Tint Color Variation

Tones of #5f157e

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5f157e 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
  • #373737 Achromatopsia 0.005% of the population
  • #3f3045 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004384 Protanopia 1% of men
  • #004775 Deuteranopia 1% of men
  • #5b3d42 Tritanopia 0.001% of the population
Trichromacy
  • #223281 Protanomaly 1% of men, 0.01% of women
  • #223478 Deuteranomaly 6% of men, 0.4% of women
  • #5c2f57 Tritanomaly 0.01% of the population