#5a237e Color Information

In a RGB color space, hex #5a237e is composed of 35.3% red, 13.7% green and 49.4% blue. Whereas in a CMYK color space, it is composed of 28.6% cyan, 72.2% magenta, 0% yellow and 50.6% black. It has a hue angle of 276.3 degrees, a saturation of 56.5% and a lightness of 31.6%. #5a237e color hex could be obtained by blending #b446fc with #000000. Closest websafe color is: #663366.

    • R 35
    • G 14
    • B 49
    RGB color chart
    • C 29
    • M 72
    • Y 0
    • K 51
    CMYK color chart

#5a237e color description : Dark violet.

#5a237e Color Conversion

The hexadecimal color #5a237e has RGB values of R:90, G:35, B:126 and CMYK values of C:0.29, M:0.72, Y:0, K:0.51. Its decimal value is 5907326.

Hex triplet 5a237e #5a237e
RGB Decimal 90, 35, 126 rgb(90,35,126)
RGB Percent 35.3, 13.7, 49.4 rgb(35.3%,13.7%,49.4%)
CMYK 29, 72, 0, 51
HSL 276.3°, 56.5, 31.6 hsl(276.3,56.5%,31.6%)
HSV (or HSB) 276.3°, 72.2, 49.4
Web Safe 663366 #663366
CIE-LAB 26.397, 41.575, -41.022
XYZ 8.583, 4.882, 20.228
xyY 0.255, 0.145, 4.882
CIE-LCH 26.397, 58.406, 315.384
CIE-LUV 26.397, 14.784, -54.899
Hunter-Lab 22.096, 30.668, -38.81
Binary 01011010, 00100011, 01111110

Color Schemes with #5a237e

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

Alternatives to #5a237e

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

Similar Colors

#5a237e Preview

Text with hexadecimal color #5a237e

This text has a font color of #5a237e.

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

This paragraph has a background color of #5a237e.

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

This element has a border color of #5a237e.

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

Shades and Tints of #5a237e

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, #020103 is the darkest color, while #f8f3fc is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5a237e

A tone is produced by adding gray to any pure hue. In this case, #514e53 is the less saturated color, while #60049d is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a237e 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
  • #3e3e3e Achromatopsia 0.005% of the population
  • #44394b Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004689 Protanopia 1% of men
  • #00497a Deuteranopia 1% of men
  • #564348 Tritanopia 0.001% of the population
Trichromacy
  • #203985 Protanomaly 1% of men, 0.01% of women
  • #203b7b Deuteranomaly 6% of men, 0.4% of women
  • #57375b Tritanomaly 0.01% of the population