Purple Color Code #800080
Purple has the HEX code #800080 and the RGB value rgb(128, 0, 128).
Purple#800080
Purple color codes
| HEX | #800080 |
| RGB | rgb(128, 0, 128) |
| HSL | hsl(300, 100%, 25%) |
| CMYK | cmyk(0%, 100%, 0%, 50%) |
| RGB percent | 50%, 0%, 50% |
| Decimal | 8388736 |
Tints of Purple
#8D1A8D#993399#A64DA6#B366B3#C080C0#CC99CC#D9B3D9#E6CCE6#F2E6F2
Shades of Purple
#730073#660066#5A005A#4D004D#400040#330033#260026#1A001A#0D000D
Color combinations
Complementary
#800080#008000
Analogous
#800080#400080#800040
Triadic
#800080#808000#008080
Use Purple in CSS
.text { color: #800080; }
.box { background-color: rgb(128, 0, 128); }
.border { border: 2px solid hsl(300, 100%, 25%); }
Text in Purple
Background in Purple
Similar colors
- Dark Magenta
- Indigo
- Rebecca Purple
- Medium Violet Red
- Dark Slate Blue
- Dark Violet
- Wine Red
- Dark Orchid
- Burgundy
- Brown
- Midnight Blue
- Blue Violet
Frequently asked questions
What is the HEX code for Purple?
The HEX code for Purple is #800080.
What is the RGB value of Purple?
Purple in RGB is rgb(128, 0, 128): red 128, green 0 and blue 128 out of 255.
How do I use Purple in CSS?
Use color: #800080; for text or background-color: #800080; for backgrounds. You can also write the CSS name purple.