#4D417F color
The hex color #4D417F is a dark, desaturated violet.
In the RGB color model it is made of 30.2% red, 25.5% green and 49.8% blue (77, 65, 127).
Its hue angle is 252°, with 32% saturation and 38% lightness. For print, the CMYK equivalent is 39% cyan, 49% magenta, 0% yellow and 50% black.
The closest named color is Dark Slate Blue (#483D8B), a difference of 3.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.83:1).
#4D417F color codes
| HEX | #4D417F | |
|---|---|---|
| RGB | rgb(77, 65, 127) | |
| RGB percent | rgb(30.2%, 25.5%, 49.8%) | |
| HSL | hsl(252, 32%, 38%) | |
| HSV / HSB | hsv(252, 49%, 50%) | |
| CMYK | cmyk(39%, 49%, 0%, 50%) | |
| CIE LAB | lab(31.56, 21.05, -33.45) | |
| CIE LCH | lch(31.56, 39.52, 302.17) | |
| CIE XYZ | xyz(8.781, 6.89, 20.942) | |
| Decimal | 5063039 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #4D417F, 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 #4D417F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.38:1 | Fail | Fail | Fail |
| Sample text | 8.83:1 | Pass | Pass | Pass |
| #4D417F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.83:1 | Pass | Pass | Pass |
| Sample text | 2.38: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 #4D417F looks to people with the most common types of color vision deficiency.
#2a4b81Protanopia
no red cones#2b497eDeuteranopia
no green cones#404d5aTritanopia
no blue cones#4a4a4aAchromatopsia
no color vision
CSS examples
.background { background-color: #4d417f; }
.text { color: #4d417f; }
.border { border: 2px solid #4d417f; }
.transparent { background-color: rgb(77 65 127 / 50%); }
.gradient { background: linear-gradient(to right, #4d417f, #6c417f); }
Similar colors
#483d8bDark Slate Blue#48357bGalactic Compass#5c457bIn the Vines#4a3b6aMeteorite#3d4585Queen of the Night Shift#5b4276Drifting Violet#464196Blueberry#363e7dEvening Magic
Questions
- What color is #4D417F?
- #4D417F is a dark, desaturated violet, closest to the named color Dark Slate Blue. It belongs to the blue family of colors.
- What is the RGB value of #4D417F?
- The RGB value is 77, 65, 127: 77 red, 65 green and 127 blue on a 0 to 255 scale.
- What is the complementary color of #4D417F?
- The complementary color is #737F41, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #4D417F?
- White text. Black text has a contrast ratio of 2.38:1 and white text 8.83:1. WCAG asks for at least 4.5:1 for normal text.