#4B4162 color
The hex color #4B4162 is a dark, grayish violet.
In the RGB color model it is made of 29.4% red, 25.5% green and 38.4% blue (75, 65, 98).
Its hue angle is 258°, with 20% saturation and 32% lightness. For print, the CMYK equivalent is 23% cyan, 34% magenta, 0% yellow and 62% black.
The closest named color is Nightly Walk (#544563), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.41:1).
#4B4162 color codes
| HEX | #4B4162 | |
|---|---|---|
| RGB | rgb(75, 65, 98) | |
| RGB percent | rgb(29.4%, 25.5%, 38.4%) | |
| HSL | hsl(258, 20%, 32%) | |
| HSV / HSB | hsv(258, 34%, 38%) | |
| CMYK | cmyk(23%, 34%, 0%, 62%) | |
| CIE LAB | lab(29.81, 12.09, -17.89) | |
| CIE LCH | lch(29.81, 21.6, 304.06) | |
| CIE XYZ | xyz(6.996, 6.158, 12.373) | |
| Decimal | 4931938 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #4B4162, 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 #4B4162 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.23:1 | Fail | Fail | Fail |
| Sample text | 9.41:1 | Pass | Pass | Pass |
| #4B4162 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.41:1 | Pass | Pass | Pass |
| Sample text | 2.23: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 #4B4162 looks to people with the most common types of color vision deficiency.
#394663Protanopia
no red cones#3b4661Deuteranopia
no green cones#47464dTritanopia
no blue cones#464646Achromatopsia
no color vision
CSS examples
.background { background-color: #4b4162; }
.text { color: #4b4162; }
.border { border: 2px solid #4b4162; }
.transparent { background-color: rgb(75 65 98 / 50%); }
.gradient { background: linear-gradient(to right, #4b4162, #5c4162); }
Similar colors
#544563Nightly Walk#57446aHaunted Candelabra#3d3d63Storm Is Coming#4a3b6aMeteorite#3f354fMaharaja#42364cCall It a Night#3e4364Genie#3c2f4eSanctum of Shadows
Closest common color name: Eggplant.
Questions
- What color is #4B4162?
- #4B4162 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 #4B4162?
- The RGB value is 75, 65, 98: 75 red, 65 green and 98 blue on a 0 to 255 scale.
- What is the complementary color of #4B4162?
- The complementary color is #586241, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #4B4162?
- White text. Black text has a contrast ratio of 2.23:1 and white text 9.41:1. WCAG asks for at least 4.5:1 for normal text.