#4F4258 color
The hex color #4F4258 is a dark, grayish violet.
In the RGB color model it is made of 31% red, 25.9% green and 34.5% blue (79, 66, 88).
Its hue angle is 275°, with 14% saturation and 30% lightness. For print, the CMYK equivalent is 10% cyan, 25% magenta, 0% yellow and 65% black.
The closest named color is Nightly Walk (#544563), a difference of 3.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.32:1).
#4F4258 color codes
| HEX | #4F4258 | |
|---|---|---|
| RGB | rgb(79, 66, 88) | |
| RGB percent | rgb(31%, 25.9%, 34.5%) | |
| HSL | hsl(275, 14%, 30%) | |
| HSV / HSB | hsv(275, 25%, 35%) | |
| CMYK | cmyk(10%, 25%, 0%, 65%) | |
| CIE LAB | lab(30.07, 10.35, -11.03) | |
| CIE LCH | lch(30.07, 15.13, 313.19) | |
| CIE XYZ | xyz(6.934, 6.263, 10.074) | |
| Decimal | 5194328 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #4F4258, 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 #4F4258 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.25:1 | Fail | Fail | Fail |
| Sample text | 9.32:1 | Pass | Pass | Pass |
| #4F4258 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.32:1 | Pass | Pass | Pass |
| Sample text | 2.25: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 #4F4258 looks to people with the most common types of color vision deficiency.
#3f4659Protanopia
no red cones#414757Deuteranopia
no green cones#4e454aTritanopia
no blue cones#474747Achromatopsia
no color vision
CSS examples
.background { background-color: #4f4258; }
.text { color: #4f4258; }
.border { border: 2px solid #4f4258; }
.transparent { background-color: rgb(79 66 88 / 50%); }
.gradient { background: linear-gradient(to right, #4f4258, #584256); }
Similar colors
#544563Nightly Walk#4f4554Black Magic#42364cCall It a Night#403547Royal Decree#3f354fMaharaja#57446aHaunted Candelabra#413d4bItalian Grape#565266Freefall
Closest common color name: Eggplant.
Questions
- What color is #4F4258?
- #4F4258 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 #4F4258?
- The RGB value is 79, 66, 88: 79 red, 66 green and 88 blue on a 0 to 255 scale.
- What is the complementary color of #4F4258?
- The complementary color is #4B5842, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #4F4258?
- White text. Black text has a contrast ratio of 2.25:1 and white text 9.32:1. WCAG asks for at least 4.5:1 for normal text.