graf1x

Brown and DarkViolet

Contrasting color combination with 1.08:1 contrast ratio

#A52A2A
#9400D3

Color Values

Brown
HEX #A52A2A
RGB 165, 42, 42
HSL 0, 59%, 41%
DarkViolet
HEX #9400D3
RGB 148, 0, 211
HSL 282, 100%, 41%

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 Brown and DarkViolet is 78 degrees. You can explore these relationships interactively in our Color Wheel Tool.

WCAG Contrast

1.08:1
Brown background with DarkViolet text
Below AA — decorative use only

UI Preview

Brown surface

Sample text on a brown background demonstrates readability and visual hierarchy.

DarkViolet surface

Sample text on a darkviolet background demonstrates readability and visual hierarchy.

Design Tokens

CSS Variables

:root {
  --color-a: #A52A2A;
  --color-b: #9400D3;
  --color-a-rgb: 165, 42, 42;
  --color-b-rgb: 148, 0, 211;
}

JSON

{
  "name": "Brown and DarkViolet",
  "colors": [
    {
      "name": "Brown",
      "hex": "#A52A2A",
      "rgb": [
        165,
        42,
        42
      ]
    },
    {
      "name": "DarkViolet",
      "hex": "#9400D3",
      "rgb": [
        148,
        0,
        211
      ]
    }
  ],
  "harmony": "Contrasting",
  "contrastRatio": 1.08
}

Explore These Colors

Frequently Asked Questions

Do brown and darkviolet go together?

Yes. Brown and DarkViolet 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 1.08:1, which is below the AA threshold for text — use it for decorative purposes rather than text readability.

What is the contrast ratio between brown and darkviolet?

The WCAG 2.1 contrast ratio between Brown (#A52A2A) and DarkViolet (#9400D3) is 1.08:1. This ratio is below AA. Use the pairing for backgrounds, borders, and decorative elements rather than text-on-background combinations.

How do I use brown and darkviolet 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 brown and darkviolet?

Brown has the hex code #A52A2A and RGB values rgb(165, 42, 42). DarkViolet has the hex code #9400D3 and RGB values rgb(148, 0, 211). You can copy these directly into CSS or use the design tokens provided on this page.