Purple (#800080) has the RGB value rgb(128, 0, 128), the HSL value hsl(300, 100%, 25%) and the CMYK value cmyk(0%, 100%, 0%, 50%).
| HEX | #800080 |
| RGB | rgb(128, 0, 128) |
| HSL | hsl(300, 100%, 25%) |
| CMYK | cmyk(0%, 100%, 0%, 50%) |
Complementary
Analogous
Triadic
Split-complementary
Tints mix Purple with white; shades mix it with black.
| #800080 on white | 9.42:1 · AAA |
| #800080 on black | 2.23:1 · Fails |
Text in white is easier to read on a purple background.
The hex code used here for purple is #800080. Other shades of purple use different codes.
Purple (#800080) is rgb(128, 0, 128): red 128, green 0, blue 128.
Its complementary color is #008000. Analogous colors are #400080 and #800040, and a triadic scheme adds #808000 and #008080.
The contrast ratio of #800080 on white is 9.42:1 (AAA). On black it is 2.23:1 (Fails). WCAG AA needs 4.5:1 for normal text.
No. The CMYK numbers are a simple mathematical conversion from RGB. Printed colors depend on the printer, ink and paper, so check a proof for color-critical work.