#5f128b Color Information

In a RGB color space, hex #5f128b is composed of 37.3% red, 7.1% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 31.7% cyan, 87.1% magenta, 0% yellow and 45.5% black. It has a hue angle of 278.2 degrees, a saturation of 77.1% and a lightness of 30.8%. #5f128b color hex could be obtained by blending #be24ff with #000017. Closest websafe color is: #660099.

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

#5f128b color description : Dark violet.

#5f128b Color Conversion

The hexadecimal color #5f128b has RGB values of R:95, G:18, B:139 and CMYK values of C:0.32, M:0.87, Y:0, K:0.45. Its decimal value is 6230667.

Hex triplet 5f128b #5f128b
RGB Decimal 95, 18, 139 rgb(95,18,139)
RGB Percent 37.3, 7.1, 54.5 rgb(37.3%,7.1%,54.5%)
CMYK 32, 87, 0, 45
HSL 278.2°, 77.1, 30.8 hsl(278.2,77.1%,30.8%)
HSV (or HSB) 278.2°, 87.1, 54.5
Web Safe 660099 #660099
CIE-LAB 25.951, 51.991, -49.865
XYZ 9.595, 4.73, 24.832
xyY 0.245, 0.121, 4.73
CIE-LCH 25.951, 72.039, 316.196
CIE-LUV 25.951, 16.772, -65.37
Hunter-Lab 21.748, 40.694, -52.474
Binary 01011111, 00010010, 10001011

Color Schemes with #5f128b

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

Alternatives to #5f128b

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

Similar Colors

#5f128b Preview

Text with hexadecimal color #5f128b

This text has a font color of #5f128b.

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

This paragraph has a background color of #5f128b.

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

This element has a border color of #5f128b.

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

Shades and Tints of #5f128b

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

Shade Color Variation
Tint Color Variation

Tones of #5f128b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5f128b 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
  • #004587 Protanopia 1% of men
  • #004977 Deuteranopia 1% of men
  • #574146 Tritanopia 0.001% of the population
Trichromacy
  • #223288 Protanomaly 1% of men, 0.01% of women
  • #22357e Deuteranomaly 6% of men, 0.4% of women
  • #5a305f Tritanomaly 0.01% of the population