#5f157a Color Information

In a RGB color space, hex #5f157a is composed of 37.3% red, 8.2% green and 47.8% blue. Whereas in a CMYK color space, it is composed of 22.1% cyan, 82.8% magenta, 0% yellow and 52.2% black. It has a hue angle of 284 degrees, a saturation of 70.6% and a lightness of 28%. #5f157a color hex could be obtained by blending #be2af4 with #000000. Closest websafe color is: #660066.

    • R 37
    • G 8
    • B 48
    RGB color chart
    • C 22
    • M 83
    • Y 0
    • K 52
    CMYK color chart

#5f157a color description : Dark violet.

#5f157a Color Conversion

The hexadecimal color #5f157a has RGB values of R:95, G:21, B:122 and CMYK values of C:0.22, M:0.83, Y:0, K:0.52. Its decimal value is 6231418.

Hex triplet 5f157a #5f157a
RGB Decimal 95, 21, 122 rgb(95,21,122)
RGB Percent 37.3, 8.2, 47.8 rgb(37.3%,8.2%,47.8%)
CMYK 22, 83, 0, 52
HSL 284°, 70.6, 28 hsl(284,70.6%,28%)
HSV (or HSB) 284°, 82.8, 47.8
Web Safe 660066 #660066
CIE-LAB 24.873, 47.416, -40.913
XYZ 8.5, 4.375, 18.808
xyY 0.268, 0.138, 4.375
CIE-LCH 24.873, 62.627, 319.211
CIE-LUV 24.873, 20.244, -53.915
Hunter-Lab 20.916, 35.937, -38.674
Binary 01011111, 00010101, 01111010

Color Schemes with #5f157a

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

Alternatives to #5f157a

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

Similar Colors

#5f157a Preview

Text with hexadecimal color #5f157a

This text has a font color of #5f157a.

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

This paragraph has a background color of #5f157a.

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

This element has a border color of #5f157a.

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

Shades and Tints of #5f157a

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

Shade Color Variation
Tint Color Variation

Tones of #5f157a

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5f157a 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
  • #3f3044 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004383 Protanopia 1% of men
  • #004675 Deuteranopia 1% of men
  • #5c3c40 Tritanopia 0.001% of the population
Trichromacy
  • #22327f Protanomaly 1% of men, 0.01% of women
  • #223476 Deuteranomaly 6% of men, 0.4% of women
  • #5d2e55 Tritanomaly 0.01% of the population