#5C41CB color
The hex color #5C41CB is a moderate violet.
In the RGB color model it is made of 36.1% red, 25.5% green and 79.6% blue (92, 65, 203).
Its hue angle is 252°, with 57% saturation and 53% lightness. For print, the CMYK equivalent is 55% cyan, 68% magenta, 0% yellow and 20% black.
The closest named color is Royal Nightcore (#533CC6), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 6.83:1).
#5C41CB color codes
| HEX | #5C41CB | |
|---|---|---|
| RGB | rgb(92, 65, 203) | |
| RGB percent | rgb(36.1%, 25.5%, 79.6%) | |
| HSL | hsl(252, 57%, 53%) | |
| HSV / HSB | hsv(252, 68%, 80%) | |
| CMYK | cmyk(55%, 68%, 0%, 20%) | |
| CIE LAB | lab(38.49, 47.27, -67.79) | |
| CIE LCH | lch(38.49, 82.64, 304.89) | |
| CIE XYZ | xyz(17.08, 10.367, 57.589) | |
| Decimal | 6046155 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5C41CB, 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 #5C41CB | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.07:1 | Fail | Fail | Pass |
| Sample text | 6.83:1 | Pass | Fail | Pass |
| #5C41CB as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.83:1 | Pass | Fail | Pass |
| Sample text | 3.07: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 #5C41CB looks to people with the most common types of color vision deficiency.
#005ecfProtanopia
no red cones#0056c8Deuteranopia
no green cones#2a6581Tritanopia
no blue cones#5b5b5bAchromatopsia
no color vision
CSS examples
.background { background-color: #5c41cb; }
.text { color: #5c41cb; }
.border { border: 2px solid #5c41cb; }
.transparent { background-color: rgb(92 65 203 / 50%); }
.gradient { background: linear-gradient(to right, #5c41cb, #a141cb); }
Similar colors
#533cc6Royal Nightcore#5539ccBlurple#7442c8Purple Rain#6633bbPurple Emperor#7736d9Hokkaido Lavender#5930a9Royalty#6a5acdSlate Blue#4b57dbWarm Blue
Questions
- What color is #5C41CB?
- #5C41CB is a moderate violet, closest to the named color Royal Nightcore. It belongs to the blue family of colors.
- What is the RGB value of #5C41CB?
- The RGB value is 92, 65, 203: 92 red, 65 green and 203 blue on a 0 to 255 scale.
- What is the complementary color of #5C41CB?
- The complementary color is #B0CB41, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5C41CB?
- White text. Black text has a contrast ratio of 3.07:1 and white text 6.83:1. WCAG asks for at least 4.5:1 for normal text.