#5a1fec Color Information

In a RGB color space, hex #5a1fec is composed of 35.3% red, 12.2% green and 92.5% blue. Whereas in a CMYK color space, it is composed of 61.9% cyan, 86.9% magenta, 0% yellow and 7.5% black. It has a hue angle of 257.3 degrees, a saturation of 84.4% and a lightness of 52.4%. #5a1fec color hex could be obtained by blending #b43eff with #0000d9. Closest websafe color is: #6633ff.

    • R 35
    • G 12
    • B 93
    RGB color chart
    • C 62
    • M 87
    • Y 0
    • K 7
    CMYK color chart

#5a1fec color description : Vivid violet.

#5a1fec Color Conversion

The hexadecimal color #5a1fec has RGB values of R:90, G:31, B:236 and CMYK values of C:0.62, M:0.87, Y:0, K:0.07. Its decimal value is 5906412.

Hex triplet 5a1fec #5a1fec
RGB Decimal 90, 31, 236 rgb(90,31,236)
RGB Percent 35.3, 12.2, 92.5 rgb(35.3%,12.2%,92.5%)
CMYK 62, 87, 0, 7
HSL 257.3°, 84.4, 52.4 hsl(257.3,84.4%,52.4%)
HSV (or HSB) 257.3°, 86.9, 92.5
Web Safe 6633ff #6633ff
CIE-LAB 36.384, 70.828, -90.217
XYZ 19.844, 9.209, 80.084
xyY 0.182, 0.084, 9.209
CIE-LCH 36.384, 114.698, 308.135
CIE-LUV 36.384, 0.7, -123.078
Hunter-Lab 30.346, 63.617, -135.224
Binary 01011010, 00011111, 11101100

Color Schemes with #5a1fec

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

Alternatives to #5a1fec

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

Similar Colors

#5a1fec Preview

Text with hexadecimal color #5a1fec

This text has a font color of #5a1fec.

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

This paragraph has a background color of #5a1fec.

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

This element has a border color of #5a1fec.

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

Shades and Tints of #5a1fec

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, #04010b is the darkest color, while #faf8fe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5a1fec

A tone is produced by adding gray to any pure hue. In this case, #827c8f is the less saturated color, while #520cff is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a1fec 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
  • #484848 Achromatopsia 0.005% of the population
  • #4c4069 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #005bb2 Protanopia 1% of men
  • #00619a Deuteranopia 1% of men
  • #00676e Tritanopia 0.001% of the population
Trichromacy
  • #2045c7 Protanomaly 1% of men, 0.01% of women
  • #2049b7 Deuteranomaly 6% of men, 0.4% of women
  • #204d9b Tritanomaly 0.01% of the population