Since it's a Companion of Darkness, maybe it's a summoned or shadow creature. Perhaps it's a familiar or a beast type. The name suggests a dark theme, so maybe it's a Shadow or a Monstrosity. Alignment could be neutral evil or lawful evil if it's a companion for a villain.
Dex +6, Con +6 Skills Stealth +6, Perception +4 Damage Resistances nonmagical physical Condition Immunities frightened, charmed Senses darkvision 60 ft., passive Perception 14 Languages understands Common but can't speak Challenge 3 (700 XP) Special Traits Invisibility. The companion is automatically invisible in areas of dim light or darkness. Shadow Form. The companion has advantage on Dexterity saving throws against nonmagical attacks and effects. Additionally, creatures have disadvantage on Wisdom (Perception) checks to detect it. Actions Multiattack. The companion makes two Shadow Claws attacks or one Shadowblast . Companion of Darkness -Ch. 9- By Berkili4
Let me finalize the stat block now.
14 (natural armor) HP 65 (10d8 + 30) Speed 30 ft., climb 20 ft. Since it's a Companion of Darkness, maybe it's
Abilities: Str 14 (+2), Dex 16 (+3), Con 16 (+3), Int 7 (-2), Wis 10 (+0), Cha 8 (-1). Saving Throws: Dex +6, Con +6. Skills: Stealth +6, Perception +4. Damage Resistances: non-magical attacks. Maybe Vulnerable to radiant? Condition Immunities: frightened, charmed. Senses: Darkvision 60 ft., passive Perception 14. Languages: Understands Common but can't speak. Challenge 3 (700 XP). Alignment could be neutral evil or lawful evil
Special traits: Maybe Invisibility in darkness, or some kind of shadow teleport. Actions: Multiattack with claws, maybe a shadow breath or something. Legendary actions? If CR is 4, maybe 3-4 legendary actions.
Let me start building it step by step. Name: Companion of Darkness (Homebrew). Size: Medium. Type: Shadow (Monstrosity). Alignment: Neutral Evil. AC: 14 (natural armor). HP: Let's say 65 (10d8 + 30). Speed: 30 ft., and maybe climb 20 ft. if it's a shadow creature.