#5A37E6 color
The hex color #5A37E6 is a moderate violet.
In the RGB color model it is made of 35.3% red, 21.6% green and 90.2% blue (90, 55, 230).
Its hue angle is 252°, with 78% saturation and 56% lightness. For print, the CMYK equivalent is 61% cyan, 76% magenta, 0% yellow and 10% black.
The closest named color is Meteor Shower (#5533FF), a difference of 2.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 6.72:1).
#5A37E6 color codes
| HEX | #5A37E6 | |
|---|---|---|
| RGB | rgb(90, 55, 230) | |
| RGB percent | rgb(35.3%, 21.6%, 90.2%) | |
| HSL | hsl(252, 78%, 56%) | |
| HSV / HSB | hsv(252, 76%, 90%) | |
| CMYK | cmyk(61%, 76%, 0%, 10%) | |
| CIE LAB | lab(38.93, 59.94, -82.59) | |
| CIE LCH | lch(38.93, 102.05, 305.97) | |
| CIE XYZ | xyz(19.861, 10.618, 75.85) | |
| Decimal | 5912550 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5A37E6, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #5A37E6 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.12:1 | Fail | Fail | Pass |
| Sample text | 6.72:1 | Pass | Fail | Pass |
| #5A37E6 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.72:1 | Pass | Fail | Pass |
| Sample text | 3.12:1 | Fail | Fail | Pass |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #5A37E6 looks to people with the most common types of color vision deficiency.
#0061ebProtanopia
no red cones#0055e3Deuteranopia
no green cones#006a8dTritanopia
no blue cones#5c5c5cAchromatopsia
no color vision
CSS examples
.background { background-color: #5a37e6; }
.text { color: #5a37e6; }
.border { border: 2px solid #5a37e6; }
.transparent { background-color: rgb(90 55 230 / 50%); }
.gradient { background: linear-gradient(to right, #5a37e6, #b237e6); }
Similar colors
#5533ffMeteor Shower#5539ccBlurple#533cc6Royal Nightcore#7736d9Hokkaido Lavender#152effVivid Blue#0339f8Vibrant Blue#003affC64 Blue#7442c8Purple Rain
Closest common color name: Blue Violet.
Questions
- What color is #5A37E6?
- #5A37E6 is a moderate violet, closest to the named color Meteor Shower. It belongs to the blue family of colors.
- What is the RGB value of #5A37E6?
- The RGB value is 90, 55, 230: 90 red, 55 green and 230 blue on a 0 to 255 scale.
- What is the complementary color of #5A37E6?
- The complementary color is #C3E637, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5A37E6?
- White text. Black text has a contrast ratio of 3.12:1 and white text 6.72:1. WCAG asks for at least 4.5:1 for normal text.