#5a21ff Color Information

In a RGB color space, hex #5a21ff is composed of 35.3% red, 12.9% green and 100% blue. Whereas in a CMYK color space, it is composed of 64.7% cyan, 87.1% magenta, 0% yellow and 0% black. It has a hue angle of 255.4 degrees, a saturation of 100% and a lightness of 56.5%. #5a21ff color hex could be obtained by blending #b442ff with #0000ff. Closest websafe color is: #6633ff.

    • R 35
    • G 13
    • B 100
    RGB color chart
    • C 65
    • M 87
    • Y 0
    • K 0
    CMYK color chart

#5a21ff color description : Vivid violet.

#5a21ff Color Conversion

The hexadecimal color #5a21ff has RGB values of R:90, G:33, B:255 and CMYK values of C:0.65, M:0.87, Y:0, K:0. Its decimal value is 5906943.

Hex triplet 5a21ff #5a21ff
RGB Decimal 90, 33, 255 rgb(90,33,255)
RGB Percent 35.3, 12.9, 100 rgb(35.3%,12.9%,100%)
CMYK 65, 87, 0, 0
HSL 255.4°, 100, 56.5 hsl(255.4,100%,56.5%)
HSV (or HSB) 255.4°, 87.1, 100
Web Safe 6633ff #6633ff
CIE-LAB 38.691, 74.965, -97.099
XYZ 22.807, 10.48, 95.423
xyY 0.177, 0.081, 10.48
CIE-LCH 38.691, 122.67, 307.67
CIE-LUV 38.691, -1.102, -133.818
Hunter-Lab 32.374, 69.098, -152.1
Binary 01011010, 00100001, 11111111

Color Schemes with #5a21ff

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

Alternatives to #5a21ff

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

Similar Colors

#5a21ff Preview

Text with hexadecimal color #5a21ff

This text has a font color of #5a21ff.

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

This paragraph has a background color of #5a21ff.

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

This element has a border color of #5a21ff.

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

Shades and Tints of #5a21ff

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, #03000d is the darkest color, while #faf9ff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5a21ff

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a21ff 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
  • #4b4b4b Achromatopsia 0.005% of the population
  • #4e436f Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0060bb Protanopia 1% of men
  • #0066a2 Deuteranopia 1% of men
  • #006d73 Tritanopia 0.001% of the population
Trichromacy
  • #2049d4 Protanomaly 1% of men, 0.01% of women
  • #204dc4 Deuteranomaly 6% of men, 0.4% of women
  • #2051a6 Tritanomaly 0.01% of the population