graf1x

Chocolate and MediumPurple

Contrasting color combination with 4.76:1 contrast ratio

#370202
#9370DB

Color Values

Chocolate
HEX #370202
RGB 55, 2, 2
HSL 0, 93%, 11%
MediumPurple
HEX #9370DB
RGB 147, 112, 219
HSL 260, 60%, 65%

Harmony: Contrasting

These colors sit far enough apart on the wheel to create clear contrast without falling into a named harmony. The pairing works through difference rather than relationship, which suits designs that want variety over cohesion.

The hue angle between Chocolate and MediumPurple is 100 degrees. You can explore these relationships interactively in our Color Wheel Tool.

WCAG Contrast

4.76:1
Chocolate background with MediumPurple text
AA normal text, AAA large text

UI Preview

Chocolate surface

Sample text on a chocolate 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: #370202;
  --color-b: #9370DB;
  --color-a-rgb: 55, 2, 2;
  --color-b-rgb: 147, 112, 219;
}

JSON

{
  "name": "Chocolate and MediumPurple",
  "colors": [
    {
      "name": "Chocolate",
      "hex": "#370202",
      "rgb": [
        55,
        2,
        2
      ]
    },
    {
      "name": "MediumPurple",
      "hex": "#9370DB",
      "rgb": [
        147,
        112,
        219
      ]
    }
  ],
  "harmony": "Contrasting",
  "contrastRatio": 4.76
}

Explore These Colors

Frequently Asked Questions

Do chocolate and mediumpurple go together?

Yes. Chocolate and MediumPurple form a contrasting color combination. These colors sit far enough apart on the wheel to create clear contrast without falling into a named harmony. The pairing works through difference rather than relationship, which suits designs that want variety over cohesion. The pairing has a WCAG contrast ratio of 4.76:1, which passes AA for large text and UI components.

What is the contrast ratio between chocolate and mediumpurple?

The WCAG 2.1 contrast ratio between Chocolate (#370202) and MediumPurple (#9370DB) is 4.76:1. This passes AA for normal text and AAA for large text.

How do I use chocolate 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 chocolate and mediumpurple?

Chocolate has the hex code #370202 and RGB values rgb(55, 2, 2). 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.