#5A36C9 color
The hex color #5A36C9 is a moderate violet.
In the RGB color model it is made of 35.3% red, 21.2% green and 78.8% blue (90, 54, 201).
Its hue angle is 255°, with 58% saturation and 50% lightness. For print, the CMYK equivalent is 55% cyan, 73% magenta, 0% yellow and 21% black.
The closest named color is Blurple (#5539CC), a difference of 1.1 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 7.48:1).
#5A36C9 color codes
| HEX | #5A36C9 | |
|---|---|---|
| RGB | rgb(90, 54, 201) | |
| RGB percent | rgb(35.3%, 21.2%, 78.8%) | |
| HSL | hsl(255, 58%, 50%) | |
| HSV / HSB | hsv(255, 73%, 79%) | |
| CMYK | cmyk(55%, 73%, 0%, 21%) | |
| CIE LAB | lab(36.04, 52.2, -70.66) | |
| CIE LCH | lch(36.04, 87.85, 306.46) | |
| CIE XYZ | xyz(16.075, 9.028, 56.143) | |
| Decimal | 5912265 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5A36C9, 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 #5A36C9 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.81:1 | Fail | Fail | Fail |
| Sample text | 7.48:1 | Pass | Pass | Pass |
| #5A36C9 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.48:1 | Pass | Pass | Pass |
| Sample text | 2.81:1 | Fail | Fail | Fail |
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 #5A36C9 looks to people with the most common types of color vision deficiency.
#0058cdProtanopia
no red cones#0050c6Deuteranopia
no green cones#285e7dTritanopia
no blue cones#555555Achromatopsia
no color vision
CSS examples
.background { background-color: #5a36c9; }
.text { color: #5a36c9; }
.border { border: 2px solid #5a36c9; }
.transparent { background-color: rgb(90 54 201 / 50%); }
.gradient { background: linear-gradient(to right, #5a36c9, #a436c9); }
Similar colors
#5539ccBlurple#533cc6Royal Nightcore#6633bbPurple Emperor#5930a9Royalty#7736d9Hokkaido Lavender#7442c8Purple Rain#5511ccSea Serpent’s Tears#1f22d2Lapis on Neptune
Closest common color name: Grape.
Questions
- What color is #5A36C9?
- #5A36C9 is a moderate violet, closest to the named color Blurple. It belongs to the blue family of colors.
- What is the RGB value of #5A36C9?
- The RGB value is 90, 54, 201: 90 red, 54 green and 201 blue on a 0 to 255 scale.
- What is the complementary color of #5A36C9?
- The complementary color is #A5C936, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5A36C9?
- White text. Black text has a contrast ratio of 2.81:1 and white text 7.48:1. WCAG asks for at least 4.5:1 for normal text.