Small Colour Collections

split complementary

Split Complementary · hue 298°

Five sRGB colours from explicit HSL steps. The strongest measured pair is #3E0D40 / #E6F7D4 at 13.93:1.

Split Complementary · hue 298°
This preview uses the exact downloadable SVG.

What is in this study

Constructionsplit complementary
SVG dimensions960 × 600
Geometric primitives5
Colours#3E0D40, #52881B, #2AD574, #E27FE6, #E6F7D4

HSL values are converted to eight-bit sRGB colours. Relative luminance and contrast are calculated from those final hex values using the WCAG sRGB formula. A ratio describes a colour pair; it does not certify the accessibility of a whole design.

Measured contrast pairs

Pair#3E0D40#52881B#2AD574#E27FE6#E6F7D4
#3E0D401.00:13.66:18.13:16.29:113.93:1
#52881B3.66:11.00:12.22:11.72:13.80:1
#2AD5748.13:12.22:11.00:11.29:11.71:1
#E27FE66.29:11.72:11.29:11.00:12.21:1
#E6F7D413.93:13.80:11.71:12.21:11.00:1

Ratios use the exact exported sRGB hex values. They describe these pairs, not the accessibility of an entire interface.

The calculations follow the W3C definition of sRGB relative luminance; the contrast ratio is (lighter luminance + 0.05) / (darker luminance + 0.05).

The actual parameters

{
  "hsl": [
    {
      "h": 298,
      "s": 67,
      "l": 15
    },
    {
      "h": 90,
      "s": 67,
      "l": 32
    },
    {
      "h": 146,
      "s": 67,
      "l": 50
    },
    {
      "h": 298,
      "s": 67,
      "l": 70
    },
    {
      "h": 90,
      "s": 67,
      "l": 90
    }
  ],
  "hex": [
    "#3E0D40",
    "#52881B",
    "#2AD574",
    "#E27FE6",
    "#E6F7D4"
  ],
  "contrast_matrix": [
    [
      1.0,
      3.664,
      8.132,
      6.294,
      13.932
    ],
    [
      3.664,
      1.0,
      2.22,
      1.718,
      3.803
    ],
    [
      8.132,
      2.22,
      1.0,
      1.292,
      1.713
    ],
    [
      6.294,
      1.718,
      1.292,
      1.0,
      2.213
    ],
    [
      13.932,
      3.803,
      1.713,
      2.213,
      1.0
    ]
  ],
  "strongest_pair": {
    "first": "#3E0D40",
    "second": "#E6F7D4",
    "ratio": 13.932
  }
}

The JSON download also records every geometric primitive and the SHA-256 of the SVG file.

Make a variation

Copy the supplied --study-color-1 through --study-color-5 CSS variables into a stylesheet and assign them to text, backgrounds, or borders. If you change a hex value, calculate its contrast again before choosing a text and background pair.

Keep the SVG and CSS in the same directory when using the background-image rule. The CSS also exports the colours as custom properties.