split complementary
Split Complementary · hue 298°
Five sRGB colours from explicit HSL steps. The strongest measured pair is #3E0D40 / #E6F7D4 at 13.93:1.
What is in this study
| Construction | split complementary |
|---|---|
| SVG dimensions | 960 × 600 |
| Geometric primitives | 5 |
| 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 |
|---|---|---|---|---|---|
| #3E0D40 | 1.00:1 | 3.66:1 | 8.13:1 | 6.29:1 | 13.93:1 |
| #52881B | 3.66:1 | 1.00:1 | 2.22:1 | 1.72:1 | 3.80:1 |
| #2AD574 | 8.13:1 | 2.22:1 | 1.00:1 | 1.29:1 | 1.71:1 |
| #E27FE6 | 6.29:1 | 1.72:1 | 1.29:1 | 1.00:1 | 2.21:1 |
| #E6F7D4 | 13.93:1 | 3.80:1 | 1.71:1 | 2.21:1 | 1.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.