#5f178b Color Information

In a RGB color space, hex #5f178b is composed of 37.3% red, 9% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 31.7% cyan, 83.5% magenta, 0% yellow and 45.5% black. It has a hue angle of 277.2 degrees, a saturation of 71.6% and a lightness of 31.8%. #5f178b color hex could be obtained by blending #be2eff with #000017. Closest websafe color is: #660099.

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

#5f178b color description : Dark violet.

#5f178b Color Conversion

The hexadecimal color #5f178b has RGB values of R:95, G:23, B:139 and CMYK values of C:0.32, M:0.83, Y:0, K:0.45. Its decimal value is 6231947.

Hex triplet 5f178b #5f178b
RGB Decimal 95, 23, 139 rgb(95,23,139)
RGB Percent 37.3, 9, 54.5 rgb(37.3%,9%,54.5%)
CMYK 32, 83, 0, 45
HSL 277.2°, 71.6, 31.8 hsl(277.2,71.6%,31.8%)
HSV (or HSB) 277.2°, 83.5, 54.5
Web Safe 660099 #660099
CIE-LAB 26.477, 50.45, -49.007
XYZ 9.685, 4.91, 24.862
xyY 0.245, 0.124, 4.91
CIE-LCH 26.477, 70.334, 315.831
CIE-LUV 26.477, 16.342, -64.886
Hunter-Lab 22.159, 39.243, -51.013
Binary 01011111, 00010111, 10001011

Color Schemes with #5f178b

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

Alternatives to #5f178b

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

Similar Colors

#5f178b Preview

Text with hexadecimal color #5f178b

This text has a font color of #5f178b.

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

This paragraph has a background color of #5f178b.

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

This element has a border color of #5f178b.

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

Shades and Tints of #5f178b

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

Shade Color Variation
Tint Color Variation

Tones of #5f178b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5f178b 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
  • #3a3a3a Achromatopsia 0.005% of the population
  • #41334a Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004689 Protanopia 1% of men
  • #004a79 Deuteranopia 1% of men
  • #574347 Tritanopia 0.001% of the population
Trichromacy
  • #223589 Protanomaly 1% of men, 0.01% of women
  • #22377f Deuteranomaly 6% of men, 0.4% of women
  • #5a3360 Tritanomaly 0.01% of the population