#4C407B color
The hex color #4C407B is a dark, desaturated violet.
In the RGB color model it is made of 29.8% red, 25.1% green and 48.2% blue (76, 64, 123).
Its hue angle is 252°, with 32% saturation and 37% lightness. For print, the CMYK equivalent is 38% cyan, 48% magenta, 0% yellow and 52% black.
The closest named color is Galactic Compass (#48357B), a difference of 3.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.03:1).
#4C407B color codes
| HEX | #4C407B | |
|---|---|---|
| RGB | rgb(76, 64, 123) | |
| RGB percent | rgb(29.8%, 25.1%, 48.2%) | |
| HSL | hsl(252, 32%, 37%) | |
| HSV / HSB | hsv(252, 48%, 48%) | |
| CMYK | cmyk(38%, 48%, 0%, 52%) | |
| CIE LAB | lab(30.96, 20.21, -31.92) | |
| CIE LCH | lch(30.96, 37.78, 302.34) | |
| CIE XYZ | xyz(8.388, 6.633, 19.573) | |
| Decimal | 4997243 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #4C407B, 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 #4C407B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.33:1 | Fail | Fail | Fail |
| Sample text | 9.03:1 | Pass | Pass | Pass |
| #4C407B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.03:1 | Pass | Pass | Pass |
| Sample text | 2.33: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 #4C407B looks to people with the most common types of color vision deficiency.
#2b4a7dProtanopia
no red cones#2c487aDeuteranopia
no green cones#404b57Tritanopia
no blue cones#494949Achromatopsia
no color vision
CSS examples
.background { background-color: #4c407b; }
.text { color: #4c407b; }
.border { border: 2px solid #4c407b; }
.transparent { background-color: rgb(76 64 123 / 50%); }
.gradient { background: linear-gradient(to right, #4c407b, #6a407b); }
Similar colors
#48357bGalactic Compass#4a3b6aMeteorite#483d8bDark Slate Blue#5c457bIn the Vines#5b4276Drifting Violet#3d4585Queen of the Night Shift#363e7dEvening Magic#583580Kingfisher Daisy
Questions
- What color is #4C407B?
- #4C407B is a dark, desaturated violet, closest to the named color Galactic Compass. It belongs to the blue family of colors.
- What is the RGB value of #4C407B?
- The RGB value is 76, 64, 123: 76 red, 64 green and 123 blue on a 0 to 255 scale.
- What is the complementary color of #4C407B?
- The complementary color is #6F7B40, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #4C407B?
- White text. Black text has a contrast ratio of 2.33:1 and white text 9.03:1. WCAG asks for at least 4.5:1 for normal text.