#5f2a8b Color Information

In a RGB color space, hex #5f2a8b is composed of 37.3% red, 16.5% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 31.7% cyan, 69.8% magenta, 0% yellow and 45.5% black. It has a hue angle of 272.8 degrees, a saturation of 53.6% and a lightness of 35.5%. #5f2a8b color hex could be obtained by blending #be54ff with #000017. Closest websafe color is: #663399.

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

#5f2a8b color description : Dark moderate violet.

#5f2a8b Color Conversion

The hexadecimal color #5f2a8b has RGB values of R:95, G:42, B:139 and CMYK values of C:0.32, M:0.7, Y:0, K:0.45. Its decimal value is 6236811.

Hex triplet 5f2a8b #5f2a8b
RGB Decimal 95, 42, 139 rgb(95,42,139)
RGB Percent 37.3, 16.5, 54.5 rgb(37.3%,16.5%,54.5%)
CMYK 32, 70, 0, 45
HSL 272.8°, 53.6, 35.5 hsl(272.8,53.6%,35.5%)
HSV (or HSB) 272.8°, 69.8, 54.5
Web Safe 663399 #663399
CIE-LAB 29.294, 42.427, -44.434
XYZ 10.207, 5.953, 25.036
xyY 0.248, 0.145, 5.953
CIE-LCH 29.294, 61.436, 313.676
CIE-LUV 29.294, 13.701, -61.501
Hunter-Lab 24.399, 31.974, -43.759
Binary 01011111, 00101010, 10001011

Color Schemes with #5f2a8b

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

Alternatives to #5f2a8b

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

Similar Colors

#5f2a8b Preview

Text with hexadecimal color #5f2a8b

This text has a font color of #5f2a8b.

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

This paragraph has a background color of #5f2a8b.

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

This element has a border color of #5f2a8b.

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

Shades and Tints of #5f2a8b

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

Shade Color Variation
Tint Color Variation

Tones of #5f2a8b

A tone is produced by adding gray to any pure hue. In this case, #5b5461 is the less saturated color, while #6300b5 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5f2a8b 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
  • #454545 Achromatopsia 0.005% of the population
  • #4a4053 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004c95 Protanopia 1% of men
  • #005085 Deuteranopia 1% of men
  • #594b50 Tritanopia 0.001% of the population
Trichromacy
  • #223f91 Protanomaly 1% of men, 0.01% of women
  • #224287 Deuteranomaly 6% of men, 0.4% of women
  • #5b3f65 Tritanomaly 0.01% of the population