Measure the hallway before you fall in love with anything. I mean actually get the tape measure out, because a console table that looks slim and pretty in a showroom will eat eight inches of walking space in a real hallway, and you will be sliding past it sideways with your coat on for the next five years. That said, when the width is right, nothing else fixes that awkward empty stretch of wall the way a console does. It catches your keys, it holds a lamp, it gives you somewhere to dump mail before it migrates to the kitchen counter and lives there forever.
The honest limit is that a console table is a surface, not storage, unless you specifically buy one with drawers or shelves, and even then the drawers are usually shallow, good for sunglasses and takeout menus, not much else. If you need somewhere to actually store things, a sideboard is doing a different job and will do it better. A console is also the wrong choice for a tight entryway where anyone has to turn a corner right at it, I learned that one the hard way with a marble topped table that clipped every single delivery person who came through the door. On delivery day, check the legs are even on your actual floor, not the showroom floor, because older houses and rented apartments rarely have a flat spot anywhere, and a wobbly console with a lamp on it is a slow motion disaster waiting for a Tuesday. Check the top surface too, under good light, for scratches or an uneven finish, since this piece gets seen from the side as much as from above.
Color wise, I want you to think about what light actually hits that spot. A hallway with no windows at all can carry a deep color beautifully because there is no harsh sun to fade it and no glare to fight with, so a bottle green or a warm rust can look rich morning and night. A console that sits under a window, though, I would go lighter, a warm wood tone or a soft putty color, because direct sun will bleach a dark painted finish patchy within a couple of years and nobody wants to explain that uneven stripe to the people who come over for dinner. Brass or warm metal legs read well against almost anything on the wall behind them, dark or light, which is more than I can say for chrome, which shows every fingerprint and goes cold under evening light.
Would I still want this piece if the lamp broke tomorrow and it just sat there empty?