#5f158a Color Information

In a RGB color space, hex #5f158a is composed of 37.3% red, 8.2% green and 54.1% blue. Whereas in a CMYK color space, it is composed of 31.2% cyan, 84.8% magenta, 0% yellow and 45.9% black. It has a hue angle of 277.9 degrees, a saturation of 73.6% and a lightness of 31.2%. #5f158a color hex could be obtained by blending #be2aff with #000015. Closest websafe color is: #660099.

    • R 37
    • G 8
    • B 54
    RGB color chart
    • C 31
    • M 85
    • Y 0
    • K 46
    CMYK color chart

#5f158a color description : Dark violet.

#5f158a Color Conversion

The hexadecimal color #5f158a has RGB values of R:95, G:21, B:138 and CMYK values of C:0.31, M:0.85, Y:0, K:0.46. Its decimal value is 6231434.

Hex triplet 5f158a #5f158a
RGB Decimal 95, 21, 138 rgb(95,21,138)
RGB Percent 37.3, 8.2, 54.1 rgb(37.3%,8.2%,54.1%)
CMYK 31, 85, 0, 46
HSL 277.9°, 73.6, 31.2 hsl(277.9,73.6%,31.2%)
HSV (or HSB) 277.9°, 84.8, 54.1
Web Safe 660099 #660099
CIE-LAB 26.17, 50.876, -48.883
XYZ 9.574, 4.804, 24.466
xyY 0.246, 0.124, 4.804
CIE-LCH 26.17, 70.555, 316.144
CIE-LUV 26.17, 16.73, -64.45
Hunter-Lab 21.919, 39.611, -50.837
Binary 01011111, 00010101, 10001010

Color Schemes with #5f158a

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

Alternatives to #5f158a

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

Similar Colors

#5f158a Preview

Text with hexadecimal color #5f158a

This text has a font color of #5f158a.

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

This paragraph has a background color of #5f158a.

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

This element has a border color of #5f158a.

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

Shades and Tints of #5f158a

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

Shade Color Variation
Tint Color Variation

Tones of #5f158a

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5f158a 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
  • #383838 Achromatopsia 0.005% of the population
  • #403148 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004588 Protanopia 1% of men
  • #004978 Deuteranopia 1% of men
  • #584246 Tritanopia 0.001% of the population
Trichromacy
  • #223488 Protanomaly 1% of men, 0.01% of women
  • #22367e Deuteranomaly 6% of men, 0.4% of women
  • #5a315f Tritanomaly 0.01% of the population