#5a238b Color Information

In a RGB color space, hex #5a238b is composed of 35.3% red, 13.7% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 35.3% cyan, 74.8% magenta, 0% yellow and 45.5% black. It has a hue angle of 271.7 degrees, a saturation of 59.8% and a lightness of 34.1%. #5a238b color hex could be obtained by blending #b446ff with #000017. Closest websafe color is: #663399.

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

#5a238b color description : Dark violet.

#5a238b Color Conversion

The hexadecimal color #5a238b has RGB values of R:90, G:35, B:139 and CMYK values of C:0.35, M:0.75, Y:0, K:0.45. Its decimal value is 5907339.

Hex triplet 5a238b #5a238b
RGB Decimal 90, 35, 139 rgb(90,35,139)
RGB Percent 35.3, 13.7, 54.5 rgb(35.3%,13.7%,54.5%)
CMYK 35, 75, 0, 45
HSL 271.7°, 59.8, 34.1 hsl(271.7,59.8%,34.1%)
HSV (or HSB) 271.7°, 74.8, 54.5
Web Safe 663399 #663399
CIE-LAB 27.408, 44.751, -47.524
XYZ 9.477, 5.24, 24.937
xyY 0.239, 0.132, 5.24
CIE-LCH 27.408, 65.278, 313.279
CIE-LUV 27.408, 12.43, -63.711
Hunter-Lab 22.891, 33.841, -48.566
Binary 01011010, 00100011, 10001011

Color Schemes with #5a238b

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

Alternatives to #5a238b

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

Similar Colors

#5a238b Preview

Text with hexadecimal color #5a238b

This text has a font color of #5a238b.

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

This paragraph has a background color of #5a238b.

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

This element has a border color of #5a238b.

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

Shades and Tints of #5a238b

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

Shade Color Variation
Tint Color Variation

Tones of #5a238b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a238b 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
  • #3f3f3f Achromatopsia 0.005% of the population
  • #44394e Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00488d Protanopia 1% of men
  • #004c7d Deuteranopia 1% of men
  • #52474c Tritanopia 0.001% of the population
Trichromacy
  • #203a8c Protanomaly 1% of men, 0.01% of women
  • #203d82 Deuteranomaly 6% of men, 0.4% of women
  • #553a63 Tritanomaly 0.01% of the population