#5f45a6 Color Information

In a RGB color space, hex #5f45a6 is composed of 37.3% red, 27.1% green and 65.1% blue. Whereas in a CMYK color space, it is composed of 42.8% cyan, 58.4% magenta, 0% yellow and 34.9% black. It has a hue angle of 256.1 degrees, a saturation of 41.3% and a lightness of 46.1%. #5f45a6 color hex could be obtained by blending #be8aff with #00004d. Closest websafe color is: #663399.

    • R 37
    • G 27
    • B 65
    RGB color chart
    • C 43
    • M 58
    • Y 0
    • K 35
    CMYK color chart

#5f45a6 color description : Dark moderate violet.

#5f45a6 Color Conversion

The hexadecimal color #5f45a6 has RGB values of R:95, G:69, B:166 and CMYK values of C:0.43, M:0.58, Y:0, K:0.35. Its decimal value is 6243750.

Hex triplet 5f45a6 #5f45a6
RGB Decimal 95, 69, 166 rgb(95,69,166)
RGB Percent 37.3, 27.1, 65.1 rgb(37.3%,27.1%,65.1%)
CMYK 43, 58, 0, 35
HSL 256.1°, 41.3, 46.1 hsl(256.1,41.3%,46.1%)
HSV (or HSB) 256.1°, 58.4, 65.1
Web Safe 663399 #663399
CIE-LAB 36.822, 34.663, -48.711
XYZ 13.729, 9.442, 37.173
xyY 0.228, 0.156, 9.442
CIE-LCH 36.822, 59.785, 305.436
CIE-LUV 36.822, 3.797, -71.765
Hunter-Lab 30.728, 25.979, -50.217
Binary 01011111, 01000101, 10100110

Color Schemes with #5f45a6

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

Alternatives to #5f45a6

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

Similar Colors

#5f45a6 Preview

Text with hexadecimal color #5f45a6

This text has a font color of #5f45a6.

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

This paragraph has a background color of #5f45a6.

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

This element has a border color of #5f45a6.

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

Shades and Tints of #5f45a6

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, #08060e is the darkest color, while #ffffff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5f45a6

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5f45a6 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
  • #585858 Achromatopsia 0.005% of the population
  • #595468 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #005cb5 Protanopia 1% of men
  • #0061a1 Deuteranopia 1% of men
  • #536168 Tritanopia 0.001% of the population
Trichromacy
  • #2253af Protanomaly 1% of men, 0.01% of women
  • #2256a3 Deuteranomaly 6% of men, 0.4% of women
  • #57577e Tritanomaly 0.01% of the population