#4D4168 color
The hex color #4D4168 is a dark, grayish violet.
In the RGB color model it is made of 30.2% red, 25.5% green and 40.8% blue (77, 65, 104).
Its hue angle is 258°, with 23% saturation and 33% lightness. For print, the CMYK equivalent is 26% cyan, 38% magenta, 0% yellow and 59% black.
The closest named color is Haunted Candelabra (#57446A), a difference of 2.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.24:1).
#4D4168 color codes
| HEX | #4D4168 | |
|---|---|---|
| RGB | rgb(77, 65, 104) | |
| RGB percent | rgb(30.2%, 25.5%, 40.8%) | |
| HSL | hsl(258, 23%, 33%) | |
| HSV / HSB | hsv(258, 38%, 41%) | |
| CMYK | cmyk(26%, 38%, 0%, 59%) | |
| CIE LAB | lab(30.3, 14.41, -20.95) | |
| CIE LCH | lch(30.3, 25.43, 304.53) | |
| CIE XYZ | xyz(7.449, 6.358, 13.929) | |
| Decimal | 5063016 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #4D4168, 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 #4D4168 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.27:1 | Fail | Fail | Fail |
| Sample text | 9.24:1 | Pass | Pass | Pass |
| #4D4168 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.24:1 | Pass | Pass | Pass |
| Sample text | 2.27: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 #4D4168 looks to people with the most common types of color vision deficiency.
#37476aProtanopia
no red cones#394767Deuteranopia
no green cones#48474fTritanopia
no blue cones#474747Achromatopsia
no color vision
CSS examples
.background { background-color: #4d4168; }
.text { color: #4d4168; }
.border { border: 2px solid #4d4168; }
.transparent { background-color: rgb(77 65 104 / 50%); }
.gradient { background: linear-gradient(to right, #4d4168, #604168); }
Similar colors
#57446aHaunted Candelabra#4a3b6aMeteorite#544563Nightly Walk#3d3d63Storm Is Coming#5b4276Drifting Violet#5c457bIn the Vines#61496eYour Majesty#614a7bRoyal Robe
Closest common color name: Dark Slate Blue.
Questions
- What color is #4D4168?
- #4D4168 is a dark, grayish violet, closest to the named color Haunted Candelabra. It belongs to the purple family of colors.
- What is the RGB value of #4D4168?
- The RGB value is 77, 65, 104: 77 red, 65 green and 104 blue on a 0 to 255 scale.
- What is the complementary color of #4D4168?
- The complementary color is #5C6841, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #4D4168?
- White text. Black text has a contrast ratio of 2.27:1 and white text 9.24:1. WCAG asks for at least 4.5:1 for normal text.