#5f128a Color Information

In a RGB color space, hex #5f128a is composed of 37.3% red, 7.1% green and 54.1% blue. Whereas in a CMYK color space, it is composed of 31.2% cyan, 87% magenta, 0% yellow and 45.9% black. It has a hue angle of 278.5 degrees, a saturation of 76.9% and a lightness of 30.6%. #5f128a color hex could be obtained by blending #be24ff with #000015. Closest websafe color is: #660099.

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

#5f128a color description : Dark violet.

#5f128a Color Conversion

The hexadecimal color #5f128a has RGB values of R:95, G:18, B:138 and CMYK values of C:0.31, M:0.87, Y:0, K:0.46. Its decimal value is 6230666.

Hex triplet 5f128a #5f128a
RGB Decimal 95, 18, 138 rgb(95,18,138)
RGB Percent 37.3, 7.1, 54.1 rgb(37.3%,7.1%,54.1%)
CMYK 31, 87, 0, 46
HSL 278.5°, 76.9, 30.6 hsl(278.5,76.9%,30.6%)
HSV (or HSB) 278.5°, 87, 54.1
Web Safe 660099 #660099
CIE-LAB 25.865, 51.773, -49.382
XYZ 9.522, 4.701, 24.449
xyY 0.246, 0.122, 4.701
CIE-LCH 25.865, 71.547, 316.354
CIE-LUV 25.865, 16.978, -64.729
Hunter-Lab 21.681, 40.455, -51.682
Binary 01011111, 00010010, 10001010

Color Schemes with #5f128a

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

Alternatives to #5f128a

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

Similar Colors

#5f128a Preview

Text with hexadecimal color #5f128a

This text has a font color of #5f128a.

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

This paragraph has a background color of #5f128a.

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

This element has a border color of #5f128a.

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

Shades and Tints of #5f128a

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, #0b0211 is the darkest color, while #fffeff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5f128a

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5f128a 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
  • #3f3048 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004586 Protanopia 1% of men
  • #004877 Deuteranopia 1% of men
  • #574145 Tritanopia 0.001% of the population
Trichromacy
  • #223287 Protanomaly 1% of men, 0.01% of women
  • #22347d Deuteranomaly 6% of men, 0.4% of women
  • #5a305e Tritanomaly 0.01% of the population