Pixel art illustration of a small pile of magenta pink-purple dye powder with scattered grains
Minecraft Java Item ID

Magenta Dye ID

Magenta dye is a coloring item used on wool, terracotta, leather armor, and more. It comes from lilacs, alliums, or by mixing other dyes.

✓ Verified for Java Edition 1.21.11
Namespaced item ID minecraft:magenta_dye

Magenta Dye Item Facts

CategoryDyes
Maximum stack64
Available inSurvival and Creative
Shared ID, data value 13 (Java 1.12.2 and earlier)351

Shared ID, data value 13 (Java 1.12.2 and earlier): Reviewed for Java Edition 1.12.2 and earlier.

Give Command for Magenta Dye

Copy the current Java Edition command, or open the generator to change the player and quantity.

/give @p minecraft:magenta_dye 1

Customize this command → View crafting recipe →

Historical command for Java 1.12.2 and earlier

Modern namespaced IDs are recommended. This numerical form is only for old Java releases.

/give @p 351 1

Give command syntax by version

Java 1.13+
/give @p minecraft:magenta_dye 1
Namespaced ID (current format)
Java 1.8–1.12.2
/give @p 351 1 13
Numerical ID + data value
Bedrock Edition
/give @p minecraft:magenta_dye 1
Same namespaced ID (namespace optional)

Rows appear only when the underlying value is verified: the Java 1.8–1.12.2 row requires a reviewed historical numerical ID, and the Bedrock row appears only when this exact namespaced ID exists in the Bedrock registry.

How to Get Magenta Dye

Crafting Recipe

Combine 1 allium in any arrangement on a crafting table — makes 1 × Magenta Dye.

Combine 1 blue dye, 1 red dye and 1 pink dye in any arrangement on a crafting table — makes 3 × Magenta Dye.

Combine 1 blue dye, 2 red dyes and 1 white dye in any arrangement on a crafting table — makes 4 × Magenta Dye.

Magenta Dye has 5 crafting recipes in the source data; the first 3 are shown.

Prefer commands? Jump back to the give command matrix above to get Magenta Dye instantly.

What Can You Craft With Magenta Dye?

Magenta Dye is a crafting ingredient in 9 reviewed recipes:

Magenta Dye Command Examples

  • Give 1 to nearest player: /give @p minecraft:magenta_dye 1
  • Give 1 to yourself: /give @s minecraft:magenta_dye 1
  • Give to a specific player: /give PlayerName minecraft:magenta_dye 1
  • Clear from inventory: /clear @p minecraft:magenta_dye

Magenta Dye FAQ

What is the item ID for Magenta Dye?

The item ID for Magenta Dye is minecraft:magenta_dye. Java Edition commands such as /give, /clear, and /setblock use this namespaced ID.

What is the numerical ID for Magenta Dye?

Magenta Dye has the historical numerical ID 351 with data value 13, used in Java Edition 1.12.2 and earlier. Current versions use minecraft:magenta_dye instead.

How do I give myself Magenta Dye in Minecraft?

Open the chat window and run /give @p minecraft:magenta_dye 1 to give the nearest player one Magenta Dye. Replace @p with a player name to target someone else.

How many Magenta Dye can stack in one slot?

Magenta Dye stacks up to 64 per inventory slot.

How do you craft Magenta Dye?

Magenta Dye is crafted on a crafting table with 1 allium, which yields 1 Magenta Dye.

What can you craft with Magenta Dye?

Magenta Dye is used to craft Magenta Wool, Magenta Terracotta, Magenta Carpet, Magenta Stained Glass, and 5 more recipes.

Sources and Data Review

Item facts were reviewed for Java Edition 1.21.11 on .

Related Dyes

Item ID: minecraft:black_dye
Item ID: minecraft:blue_dye
Item ID: minecraft:brown_dye
Item ID: minecraft:cyan_dye
Item ID: minecraft:gray_dye
Item ID: minecraft:green_dye
Item ID: minecraft:light_blue_dye
Item ID: minecraft:light_gray_dye