#5f157b Color Information

In a RGB color space, hex #5f157b is composed of 37.3% red, 8.2% green and 48.2% blue. Whereas in a CMYK color space, it is composed of 22.8% cyan, 82.9% magenta, 0% yellow and 51.8% black. It has a hue angle of 283.5 degrees, a saturation of 70.8% and a lightness of 28.2%. #5f157b color hex could be obtained by blending #be2af6 with #000000. Closest websafe color is: #660066.

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

#5f157b color description : Dark violet.

#5f157b Color Conversion

The hexadecimal color #5f157b has RGB values of R:95, G:21, B:123 and CMYK values of C:0.23, M:0.83, Y:0, K:0.52. Its decimal value is 6231419.

Hex triplet 5f157b #5f157b
RGB Decimal 95, 21, 123 rgb(95,21,123)
RGB Percent 37.3, 8.2, 48.2 rgb(37.3%,8.2%,48.2%)
CMYK 23, 83, 0, 52
HSL 283.5°, 70.8, 28.2 hsl(283.5,70.8%,28.2%)
HSV (or HSB) 283.5°, 82.9, 48.2
Web Safe 660066 #660066
CIE-LAB 24.951, 47.627, -41.423
XYZ 8.562, 4.4, 19.136
xyY 0.267, 0.137, 4.4
CIE-LCH 24.951, 63.121, 318.985
CIE-LUV 24.951, 20.01, -54.584
Hunter-Lab 20.975, 36.158, -39.408
Binary 01011111, 00010101, 01111011

Color Schemes with #5f157b

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

Alternatives to #5f157b

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

Similar Colors

#5f157b Preview

Text with hexadecimal color #5f157b

This text has a font color of #5f157b.

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

This paragraph has a background color of #5f157b.

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

This element has a border color of #5f157b.

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

Shades and Tints of #5f157b

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

Shade Color Variation
Tint Color Variation

Tones of #5f157b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5f157b 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
  • #004383 Protanopia 1% of men
  • #004675 Deuteranopia 1% of men
  • #5b3c40 Tritanopia 0.001% of the population
Trichromacy
  • #223280 Protanomaly 1% of men, 0.01% of women
  • #223477 Deuteranomaly 6% of men, 0.4% of women
  • #5c2e56 Tritanomaly 0.01% of the population