Purple Heart Symbol
Codes for this symbol
| Method | Value |
|---|---|
| Alt + X hex | |
| HTML decimal | |
| HTML hex | |
| CSS escape | |
| Python escape | |
| JavaScript escape | |
| UTF-8 bytes | |
| Unicode codepoint | |
| Unicode block | |
| Unicode category |
Not available for this symbol: legacy Windows Alt code, Alt + decimal (BMP limit), macOS Option shortcut, named HTML entity.
How to type purple heart on Windows
- Purple Heart cannot be typed with a legacy Alt code or Alt + decimal because its codepoint is above U+FFFF.
- Use the Character Viewer, an HTML entity, or copy the character directly.
If your keyboard has no numeric keypad, see how to type symbols without a numpad.
How to type purple heart on macOS
There is no direct Option shortcut for Purple Heart. Open the Character Viewer with ⌃⌘Space, search for "Purple Heart" and click the character to insert it.
How to use purple heart in code
- HTML: or
- CSS:
content:"\01F49C";() - Python:
\U0001F49Corchr(0x1F49C) - JavaScript:
\u{1F49C}orString.fromCodePoint(0x1F49C) - JSON:
"\uD83D\uDC9C"(surrogate pair)
Frequently asked questions
Is there an Alt code for 💜?
No legacy Alt code exists for Purple Heart because it is not in code page 437 or Windows-1252. Use the Unicode codepoint U+1F49C in HTML, CSS or the Character Viewer instead.
How do I type 💜 without a numpad?
Use the Windows Character Viewer (Win+.), the macOS Character Viewer (⌃⌘Space), an HTML entity such as 💜, or copy the character directly from this page.
What is the Unicode for Purple Heart?
The Unicode codepoint for Purple Heart is U+1F49C. You can use this value in HTML as 💜, in CSS as \01F49C, and in Word with Alt+X.
How do I type 💜 on a Mac?
Open the Character Viewer with ⌃⌘Space and search for the character name or U+1F49C, then click it.