hexcolors

Color combinations / Purple and Black

Purple and Black color combination

One of the two is a neutral, which makes this an easy, safe pairing.

Do they work together?

Not for text. The ratio is 2.23:1, which fails WCAG AA. Use them for shapes and decoration instead, or adjust one color.

Contrast is the same in both directions. Check other pairs in the contrast checker.

See it in use

Black text on purple

The quick brown fox jumps over the lazy dog.

Purple text on black

The quick brown fox jumps over the lazy dog.

Make the pair accessible

Keep the hue and adjust lightness until body text passes 4.5:1.

Copy the colors

--purple: #800080;
--black: #000000;

More with purple

Common questions

Do purple and black go well together?

One of the two is a neutral, which makes this an easy, safe pairing. Not for text. The ratio is 2.23:1, which fails WCAG AA. Use them for shapes and decoration instead, or adjust one color.

What are the hex codes for purple and black?

Purple is #800080 and Black is #000000.

Can I use purple text on black?

Not for text. The ratio is 2.23:1, which fails WCAG AA. Use them for shapes and decoration instead, or adjust one color.