#5f2a7b Color Information

In a RGB color space, hex #5f2a7b is composed of 37.3% red, 16.5% green and 48.2% blue. Whereas in a CMYK color space, it is composed of 22.8% cyan, 65.9% magenta, 0% yellow and 51.8% black. It has a hue angle of 279.3 degrees, a saturation of 49.1% and a lightness of 32.4%. #5f2a7b color hex could be obtained by blending #be54f6 with #000000. Closest websafe color is: #663366.

    • R 37
    • G 16
    • B 48
    RGB color chart
    • C 23
    • M 66
    • Y 0
    • K 52
    CMYK color chart

#5f2a7b color description : Dark moderate violet.

#5f2a7b Color Conversion

The hexadecimal color #5f2a7b has RGB values of R:95, G:42, B:123 and CMYK values of C:0.23, M:0.66, Y:0, K:0.52. Its decimal value is 6236795.

Hex triplet 5f2a7b #5f2a7b
RGB Decimal 95, 42, 123 rgb(95,42,123)
RGB Percent 37.3, 16.5, 48.2 rgb(37.3%,16.5%,48.2%)
CMYK 23, 66, 0, 52
HSL 279.3°, 49.1, 32.4 hsl(279.3,49.1%,32.4%)
HSV (or HSB) 279.3°, 65.9, 48.2
Web Safe 663366 #663366
CIE-LAB 28.165, 38.553, -36.244
XYZ 9.122, 5.519, 19.323
xyY 0.269, 0.163, 5.519
CIE-LCH 28.165, 52.915, 316.769
CIE-LUV 28.165, 16.701, -50.132
Hunter-Lab 23.493, 28.197, -32.32
Binary 01011111, 00101010, 01111011

Color Schemes with #5f2a7b

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

Alternatives to #5f2a7b

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

Similar Colors

#5f2a7b Preview

Text with hexadecimal color #5f2a7b

This text has a font color of #5f2a7b.

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

This paragraph has a background color of #5f2a7b.

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

This element has a border color of #5f2a7b.

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

Shades and Tints of #5f2a7b

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

Shade Color Variation
Tint Color Variation

Tones of #5f2a7b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5f2a7b 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
  • #434343 Achromatopsia 0.005% of the population
  • #493e4e Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004991 Protanopia 1% of men
  • #284c7a Deuteranopia 1% of men
  • #5d464b Tritanopia 0.001% of the population
Trichromacy
  • #223e89 Protanomaly 1% of men, 0.01% of women
  • #3c407a Deuteranomaly 6% of men, 0.4% of women
  • #5d3b5c Tritanomaly 0.01% of the population