#5f2a9e Color Information

In a RGB color space, hex #5f2a9e is composed of 37.3% red, 16.5% green and 62% blue. Whereas in a CMYK color space, it is composed of 39.9% cyan, 73.4% magenta, 0% yellow and 38% black. It has a hue angle of 267.4 degrees, a saturation of 58% and a lightness of 39.2%. #5f2a9e color hex could be obtained by blending #be54ff with #00003d. Closest websafe color is: #663399.

    • R 37
    • G 16
    • B 62
    RGB color chart
    • C 40
    • M 73
    • Y 0
    • K 38
    CMYK color chart

#5f2a9e color description : Dark violet.

#5f2a9e Color Conversion

The hexadecimal color #5f2a9e has RGB values of R:95, G:42, B:158 and CMYK values of C:0.4, M:0.73, Y:0, K:0.38. Its decimal value is 6236830.

Hex triplet 5f2a9e #5f2a9e
RGB Decimal 95, 42, 158 rgb(95,42,158)
RGB Percent 37.3, 16.5, 62 rgb(37.3%,16.5%,62%)
CMYK 40, 73, 0, 38
HSL 267.4°, 58, 39.2 hsl(267.4,58%,39.2%)
HSV (or HSB) 267.4°, 73.4, 62
Web Safe 663399 #663399
CIE-LAB 30.778, 47.224, -53.684
XYZ 11.718, 6.557, 32.994
xyY 0.229, 0.128, 6.557
CIE-LCH 30.778, 71.499, 311.337
CIE-LUV 30.778, 10.546, -74.437
Hunter-Lab 25.608, 36.867, -58.467
Binary 01011111, 00101010, 10011110

Color Schemes with #5f2a9e

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

Alternatives to #5f2a9e

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

Similar Colors

#5f2a9e Preview

Text with hexadecimal color #5f2a9e

This text has a font color of #5f2a9e.

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

This paragraph has a background color of #5f2a9e.

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

This element has a border color of #5f2a9e.

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

Shades and Tints of #5f2a9e

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 #f7f3fc is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5f2a9e

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5f2a9e 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
  • #474747 Achromatopsia 0.005% of the population
  • #4c4158 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004f9b Protanopia 1% of men
  • #005388 Deuteranopia 1% of men
  • #525156 Tritanopia 0.001% of the population
Trichromacy
  • #22419c Protanomaly 1% of men, 0.01% of women
  • #224490 Deuteranomaly 6% of men, 0.4% of women
  • #574270 Tritanomaly 0.01% of the population