#4D465F color
The hex color #4D465F is a dark, grayish violet.
In the RGB color model it is made of 30.2% red, 27.5% green and 37.3% blue (77, 70, 95).
Its hue angle is 257°, with 15% saturation and 32% lightness. For print, the CMYK equivalent is 19% cyan, 26% magenta, 0% yellow and 63% black.
The closest named color is Nightly Walk (#544563), a difference of 3.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.91:1).
#4D465F color codes
| HEX | #4D465F | |
|---|---|---|
| RGB | rgb(77, 70, 95) | |
| RGB percent | rgb(30.2%, 27.5%, 37.3%) | |
| HSL | hsl(257, 15%, 32%) | |
| HSV / HSB | hsv(257, 26%, 37%) | |
| CMYK | cmyk(19%, 26%, 0%, 63%) | |
| CIE LAB | lab(31.31, 8.76, -13.64) | |
| CIE LCH | lch(31.31, 16.22, 302.71) | |
| CIE XYZ | xyz(7.316, 6.784, 11.748) | |
| Decimal | 5064287 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #4D465F, 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 #4D465F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.36:1 | Fail | Fail | Fail |
| Sample text | 8.91:1 | Pass | Pass | Pass |
| #4D465F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.91:1 | Pass | Pass | Pass |
| Sample text | 2.36: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 #4D465F looks to people with the most common types of color vision deficiency.
#414a60Protanopia
no red cones#42495eDeuteranopia
no green cones#4a4a4fTritanopia
no blue cones#4a4a4aAchromatopsia
no color vision
CSS examples
.background { background-color: #4d465f; }
.text { color: #4d465f; }
.border { border: 2px solid #4d465f; }
.transparent { background-color: rgb(77 70 95 / 50%); }
.gradient { background: linear-gradient(to right, #4d465f, #59465f); }
Similar colors
#544563Nightly Walk#4f4554Black Magic#565266Freefall#42364cCall It a Night#3f354fMaharaja#3e4364Genie#555570Majestic Magic#4d516cIntergalactic
Closest common color name: Eggplant.
Questions
- What color is #4D465F?
- #4D465F is a dark, grayish violet, closest to the named color Nightly Walk. It belongs to the purple family of colors.
- What is the RGB value of #4D465F?
- The RGB value is 77, 70, 95: 77 red, 70 green and 95 blue on a 0 to 255 scale.
- What is the complementary color of #4D465F?
- The complementary color is #585F46, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #4D465F?
- White text. Black text has a contrast ratio of 2.36:1 and white text 8.91:1. WCAG asks for at least 4.5:1 for normal text.