Black and MediumPurple
Tonal Accent color combination with 5.58:1 contrast ratio
Color Values
#0000000, 0, 00, 0%, 0%#9370DB147, 112, 219260, 60%, 65%Harmony: Tonal Accent
One color is neutral and the other carries the chroma, which is a reliable formula for balanced design. The neutral gives the eye somewhere to rest while the chromatic color provides the focal point.
The hue angle between Black and MediumPurple is 100 degrees (though one or both colors are achromatic, so hue angle is less relevant than lightness contrast). You can explore these relationships interactively in our Color Wheel Tool.
WCAG Contrast
UI Preview
Black surface
Sample text on a black background demonstrates readability and visual hierarchy.
MediumPurple surface
Sample text on a mediumpurple background demonstrates readability and visual hierarchy.
Design Tokens
CSS Variables
:root {
--color-a: #000000;
--color-b: #9370DB;
--color-a-rgb: 0, 0, 0;
--color-b-rgb: 147, 112, 219;
}JSON
{
"name": "Black and MediumPurple",
"colors": [
{
"name": "Black",
"hex": "#000000",
"rgb": [
0,
0,
0
]
},
{
"name": "MediumPurple",
"hex": "#9370DB",
"rgb": [
147,
112,
219
]
}
],
"harmony": "Tonal Accent",
"contrastRatio": 5.58
}Related Combinations
Explore These Colors
Frequently Asked Questions
Do black and mediumpurple go together?
Yes. Black and MediumPurple form a tonal accent color combination. One color is neutral and the other carries the chroma, which is a reliable formula for balanced design. The neutral gives the eye somewhere to rest while the chromatic color provides the focal point. The pairing has a WCAG contrast ratio of 5.58:1, which passes AA for large text and UI components.
What is the contrast ratio between black and mediumpurple?
The WCAG 2.1 contrast ratio between Black (#000000) and MediumPurple (#9370DB) is 5.58:1. This passes AA for normal text and AAA for large text.
How do I use black and mediumpurple in design?
A safe starting point is the 60/30/10 rule: give one color about 60 percent of the surface area, the other about 30 percent, and reserve the remaining 10 percent for an accent or neutral. If one color is significantly darker, use it for text or structural elements and the lighter one for backgrounds. Test the result with our Contrast Checker if text is involved.
What are the hex and RGB values for black and mediumpurple?
Black has the hex code #000000 and RGB values rgb(0, 0, 0). MediumPurple has the hex code #9370DB and RGB values rgb(147, 112, 219). You can copy these directly into CSS or use the design tokens provided on this page.