#4D4258 color
The hex color #4D4258 is a dark, grayish violet.
In the RGB color model it is made of 30.2% red, 25.9% green and 34.5% blue (77, 66, 88).
Its hue angle is 270°, with 14% saturation and 30% lightness. For print, the CMYK equivalent is 12% cyan, 25% magenta, 0% yellow and 65% black.
The closest named color is Black Magic (#4F4554), a difference of 3.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.39:1).
#4D4258 color codes
| HEX | #4D4258 | |
|---|---|---|
| RGB | rgb(77, 66, 88) | |
| RGB percent | rgb(30.2%, 25.9%, 34.5%) | |
| HSL | hsl(270, 14%, 30%) | |
| HSV / HSB | hsv(270, 25%, 35%) | |
| CMYK | cmyk(12%, 25%, 0%, 65%) | |
| CIE LAB | lab(29.86, 9.59, -11.37) | |
| CIE LCH | lch(29.86, 14.87, 310.16) | |
| CIE XYZ | xyz(6.77, 6.179, 10.067) | |
| Decimal | 5063256 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #4D4258, 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 #4D4258 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.24:1 | Fail | Fail | Fail |
| Sample text | 9.39:1 | Pass | Pass | Pass |
| #4D4258 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.39:1 | Pass | Pass | Pass |
| Sample text | 2.24: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 #4D4258 looks to people with the most common types of color vision deficiency.
#3e4659Protanopia
no red cones#404657Deuteranopia
no green cones#4c454aTritanopia
no blue cones#464646Achromatopsia
no color vision
CSS examples
.background { background-color: #4d4258; }
.text { color: #4d4258; }
.border { border: 2px solid #4d4258; }
.transparent { background-color: rgb(77 66 88 / 50%); }
.gradient { background: linear-gradient(to right, #4d4258, #584258); }
Similar colors
#4f4554Black Magic#544563Nightly Walk#42364cCall It a Night#3f354fMaharaja#403547Royal Decree#413d4bItalian Grape#565266Freefall#57446aHaunted Candelabra
Closest common color name: Eggplant.
Questions
- What color is #4D4258?
- #4D4258 is a dark, grayish violet, closest to the named color Black Magic. It belongs to the purple family of colors.
- What is the RGB value of #4D4258?
- The RGB value is 77, 66, 88: 77 red, 66 green and 88 blue on a 0 to 255 scale.
- What is the complementary color of #4D4258?
- The complementary color is #4D5842, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #4D4258?
- White text. Black text has a contrast ratio of 2.24:1 and white text 9.39:1. WCAG asks for at least 4.5:1 for normal text.