#5a338b Color Information

In a RGB color space, hex #5a338b is composed of 35.3% red, 20% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 35.3% cyan, 63.3% magenta, 0% yellow and 45.5% black. It has a hue angle of 266.6 degrees, a saturation of 46.3% and a lightness of 37.3%. #5a338b color hex could be obtained by blending #b466ff with #000017. Closest websafe color is: #663399.

    • R 35
    • G 20
    • B 55
    RGB color chart
    • C 35
    • M 63
    • Y 0
    • K 45
    CMYK color chart

#5a338b color description : Dark moderate violet.

#5a338b Color Conversion

The hexadecimal color #5a338b has RGB values of R:90, G:51, B:139 and CMYK values of C:0.35, M:0.63, Y:0, K:0.45. Its decimal value is 5911435.

Hex triplet 5a338b #5a338b
RGB Decimal 90, 51, 139 rgb(90,51,139)
RGB Percent 35.3, 20, 54.5 rgb(35.3%,20%,54.5%)
CMYK 35, 63, 0, 45
HSL 266.6°, 46.3, 37.3 hsl(266.6,46.3%,37.3%)
HSV (or HSB) 266.6°, 63.3, 54.5
Web Safe 663399 #663399
CIE-LAB 30.413, 36.455, -42.659
XYZ 10.06, 6.405, 25.131
xyY 0.242, 0.154, 6.405
CIE-LCH 30.413, 56.114, 310.516
CIE-LUV 30.413, 9.418, -59.611
Hunter-Lab 25.309, 26.659, -41.157
Binary 01011010, 00110011, 10001011

Color Schemes with #5a338b

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

Alternatives to #5a338b

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

Similar Colors

#5a338b Preview

Text with hexadecimal color #5a338b

This text has a font color of #5a338b.

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

This paragraph has a background color of #5a338b.

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

This element has a border color of #5a338b.

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

Shades and Tints of #5a338b

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, #06040a is the darkest color, while #fcfafd is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5a338b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a338b 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
  • #494949 Achromatopsia 0.005% of the population
  • #4c4556 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004e9a Protanopia 1% of men
  • #095289 Deuteranopia 1% of men
  • #544f55 Tritanopia 0.001% of the population
Trichromacy
  • #204494 Protanomaly 1% of men, 0.01% of women
  • #27478a Deuteranomaly 6% of men, 0.4% of women
  • #564568 Tritanomaly 0.01% of the population