#5C23A2 color
The hex color #5C23A2 is a moderate violet.
In the RGB color model it is made of 36.1% red, 13.7% green and 63.5% blue (92, 35, 162).
Its hue angle is 267°, with 64% saturation and 39% lightness. For print, the CMYK equivalent is 43% cyan, 78% magenta, 0% yellow and 36% black.
The closest named color is Wild Violet (#63209B), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 9.47:1).
#5C23A2 color codes
| HEX | #5C23A2 | |
|---|---|---|
| RGB | rgb(92, 35, 162) | |
| RGB percent | rgb(36.1%, 13.7%, 63.5%) | |
| HSL | hsl(267, 64%, 39%) | |
| HSV / HSB | hsv(267, 78%, 64%) | |
| CMYK | cmyk(43%, 78%, 0%, 36%) | |
| CIE LAB | lab(29.63, 50.87, -58) | |
| CIE LCH | lch(29.63, 77.15, 311.26) | |
| CIE XYZ | xyz(11.535, 6.086, 34.742) | |
| Decimal | 6038434 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5C23A2, 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 #5C23A2 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.22:1 | Fail | Fail | Fail |
| Sample text | 9.47:1 | Pass | Pass | Pass |
| #5C23A2 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.47:1 | Pass | Pass | Pass |
| Sample text | 2.22: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 #5C23A2 looks to people with the most common types of color vision deficiency.
#0046a6Protanopia
no red cones#0044a0Deuteranopia
no green cones#4a4662Tritanopia
no blue cones#464646Achromatopsia
no color vision
CSS examples
.background { background-color: #5c23a2; }
.text { color: #5c23a2; }
.border { border: 2px solid #5c23a2; }
.transparent { background-color: rgb(92 35 162 / 50%); }
.gradient { background: linear-gradient(to right, #5c23a2, #9b23a2); }
Similar colors
#63209bWild Violet#5930a9Royalty#5b1e8bIntergalactic Settlement#6f2da8Grape#632f92Lucid Dreams#663399Rebecca Purple#472e97Galactic Purple#69359cPurple Heart
Questions
- What color is #5C23A2?
- #5C23A2 is a moderate violet, closest to the named color Wild Violet. It belongs to the purple family of colors.
- What is the RGB value of #5C23A2?
- The RGB value is 92, 35, 162: 92 red, 35 green and 162 blue on a 0 to 255 scale.
- What is the complementary color of #5C23A2?
- The complementary color is #69A223, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5C23A2?
- White text. Black text has a contrast ratio of 2.22:1 and white text 9.47:1. WCAG asks for at least 4.5:1 for normal text.