#5f158c Color Information

In a RGB color space, hex #5f158c is composed of 37.3% red, 8.2% green and 54.9% blue. Whereas in a CMYK color space, it is composed of 32.1% cyan, 85% magenta, 0% yellow and 45.1% black. It has a hue angle of 277.3 degrees, a saturation of 73.9% and a lightness of 31.6%. #5f158c color hex could be obtained by blending #be2aff with #000019. Closest websafe color is: #660099.

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

#5f158c color description : Dark violet.

#5f158c Color Conversion

The hexadecimal color #5f158c has RGB values of R:95, G:21, B:140 and CMYK values of C:0.32, M:0.85, Y:0, K:0.45. Its decimal value is 6231436.

Hex triplet 5f158c #5f158c
RGB Decimal 95, 21, 140 rgb(95,21,140)
RGB Percent 37.3, 8.2, 54.9 rgb(37.3%,8.2%,54.9%)
CMYK 32, 85, 0, 45
HSL 277.3°, 73.9, 31.6 hsl(277.3,73.9%,31.6%)
HSV (or HSB) 277.3°, 85, 54.9
Web Safe 660099 #660099
CIE-LAB 26.341, 51.32, -49.851
XYZ 9.72, 4.863, 25.236
xyY 0.244, 0.122, 4.863
CIE-LCH 26.341, 71.546, 315.831
CIE-LUV 26.341, 16.323, -65.741
Hunter-Lab 22.052, 40.091, -52.414
Binary 01011111, 00010101, 10001100

Color Schemes with #5f158c

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

Alternatives to #5f158c

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

Similar Colors

#5f158c Preview

Text with hexadecimal color #5f158c

This text has a font color of #5f158c.

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

This paragraph has a background color of #5f158c.

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

This element has a border color of #5f158c.

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

Shades and Tints of #5f158c

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

Shade Color Variation
Tint Color Variation

Tones of #5f158c

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5f158c 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
  • #393939 Achromatopsia 0.005% of the population
  • #41324a Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004688 Protanopia 1% of men
  • #004978 Deuteranopia 1% of men
  • #574247 Tritanopia 0.001% of the population
Trichromacy
  • #223489 Protanomaly 1% of men, 0.01% of women
  • #22367f Deuteranomaly 6% of men, 0.4% of women
  • #5a3260 Tritanomaly 0.01% of the population