#5f158b Color Information

In a RGB color space, hex #5f158b is composed of 37.3% red, 8.2% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 31.7% cyan, 84.9% magenta, 0% yellow and 45.5% black. It has a hue angle of 277.6 degrees, a saturation of 73.8% and a lightness of 31.4%. #5f158b color hex could be obtained by blending #be2aff with #000017. 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

#5f158b color description : Dark violet.

#5f158b Color Conversion

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

Hex triplet 5f158b #5f158b
RGB Decimal 95, 21, 139 rgb(95,21,139)
RGB Percent 37.3, 8.2, 54.5 rgb(37.3%,8.2%,54.5%)
CMYK 32, 85, 0, 45
HSL 277.6°, 73.8, 31.4 hsl(277.6,73.8%,31.4%)
HSV (or HSB) 277.6°, 84.9, 54.5
Web Safe 660099 #660099
CIE-LAB 26.255, 51.098, -49.368
XYZ 9.647, 4.834, 24.849
xyY 0.245, 0.123, 4.834
CIE-LCH 26.255, 71.051, 315.986
CIE-LUV 26.255, 16.525, -65.096
Hunter-Lab 21.985, 39.85, -51.624
Binary 01011111, 00010101, 10001011

Color Schemes with #5f158b

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

Alternatives to #5f158b

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

Similar Colors

#5f158b Preview

Text with hexadecimal color #5f158b

This text has a font color of #5f158b.

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

This paragraph has a background color of #5f158b.

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

This element has a border color of #5f158b.

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

Shades and Tints of #5f158b

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

Shade Color Variation
Tint Color Variation

Tones of #5f158b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5f158b 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
  • #413249 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
  • #5a325f Tritanomaly 0.01% of the population