Named gradient · WebGradients
Premium Dark
Premium Dark is a neutral gradient from WebGradients (MIT) — #434343 → #000000 at 0°. Shown here interpolated in OKLab, next to the original sRGB, with the worst-case contrast for white and black text and every export.
Same stops, three spaces
The source renders this in sRGB. The number is how much chroma survives at the dullest point along the line — the difference between the first bar and the others is the grey that OKLab removes.
Report
- white ink: worst 9.89:1 at 0% (AA); black ink: worst 1.00:1 at 87% (fails AA) → use white text.
- Black text disappears completely at 87% (1.00:1 crossing).
- Banding medium: ~21px bands at 1440px — add grain 42 (≈3% soft-light noise) or shorten the ramp.
Export
.gradient {
background-image: linear-gradient(0deg, #434343 0%, #3c3c3c 7.14%, #353535 14.29%, #2e2e2e 21.43%, #272727 28.57%, #212121 35.71%, #1a1a1a 42.86%, #141414 50%, #0e0e0e 57.14%, #080808 64.29%, #040404 71.43%, #020202 78.57%, #010101 85.71%, #000000 92.86%, #000000 100%);
background-image: linear-gradient(0deg in oklab, #434343 0%, #000000 100%);
}bg-linear-to-t/oklab from-[#434343] to-[#000000]
<svg xmlns="http://www.w3.org/2000/svg" width="1440" height="600" viewBox="0 0 1440 600"><defs><linearGradient id="bs-gradient" gradientUnits="userSpaceOnUse" x1="720" y1="600" x2="720" y2="0"><stop offset="0%" stop-color="#434343"/><stop offset="7.14%" stop-color="#3c3c3c"/><stop offset="14.29%" stop-color="#353535"/><stop offset="21.43%" stop-color="#2e2e2e"/><stop offset="28.57%" stop-color="#272727"/><stop offset="35.71%" stop-color="#212121"/><stop offset="42.86%" stop-color="#1a1a1a"/><stop offset="50%" stop-color="#141414"/><stop offset="57.14%" stop-color="#0e0e0e"/><stop offset="64.29%" stop-color="#080808"/><stop offset="71.43%" stop-color="#040404"/><stop offset="78.57%" stop-color="#020202"/><stop offset="85.71%" stop-color="#010101"/><stop offset="92.86%" stop-color="#000000"/><stop offset="100%" stop-color="#000000"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
{
"premium-dark": {
"$type": "gradient",
"$value": [
{
"color": {
"colorSpace": "srgb",
"components": [
0.263,
0.263,
0.263
],
"hex": "#434343"
},
"position": 0
},
{
"color": {
"colorSpace": "srgb",
"components": [
0,
0,
0
],
"hex": "#000000"
},
"position": 1
}
],
"$extensions": {
"com.brandsweets": {
"kind": "linear",
"css": "linear-gradient(0deg in oklab, #434343 0%, #000000 100%)",
"interpolation": "oklab",
"angle": 0,
"name": "Premium Dark",
"contrast": {
"white": {
"ratio": 9.894,
"at": 0,
"passesAA": true,
"passesAALarge": true
},
"black": {
"ratio": 1,
"at": 0.8651,
"passesAA": false,
"passesAALarge": false
},
"suggestedInk": "#ffffff"
}
}
},
"$description": "Premium Dark (WebGradients, MIT), rendered in OKLab."
}
}Tagged
More neutral gradients
Point any MCP client at the shared gradients endpoint and your agent gets the same engine as this page — make_gradient returns CSS with the interpolation space, Tailwind v4, SVG, a PNG URL, a DTCG token and the contrast report in one call; brand_gradients derives the whole contact sheet from a brand or a palette. Read-only, no key. Every gradient is a /gradients/new/… link: open it, refine, paste it back.
https://mcp.brandsweets.com/gradients/mcpclaude mcp add --transport http brandsweets-gradients https://mcp.brandsweets.com/gradients/mcp
›take the Premium Dark gradient (#434343, #000000), re-interpolate it in oklch, and tell me the worst-case contrast for white text
Want the agent to remember your picks and write them into a living brand? Create a free BrandSweets workspace.
Machine-readable: gradients.md · From WebGradients (MIT) — licences