Dark Violet — 11-step color scale
Dark Violet (#9400d3) sits at 500, untouched. Every other step is Dark Violet composited over white or black at a decreasing opacity, so the whole ramp stays in one hue family instead of drifting toward another color at the ends.
Open Dark Violet in the generator
For text that needs to pass AA on white, 400, 500, 600, 700, 800, 900, 950 clear the 4.5:1 line. On a dark surface, 50, 100, 200, 300 do.
Semantic colors from Dark Violet
Success, warning, error and the rest are derived from Dark Violet itself, then checked so they stay distinguishable from the base — and from each other — under the three types of color blindness. The distance below is CIEDE2000 after each simulation.
| Suggested | Protanopia | Deuteranopia | Tritanopia |
|---|---|---|---|
| success | 61.6 | 54.3 | 42.4 |
| warning | 56.9 | 59.6 | 31.5 |
| error | 15.9 | 33.0 | 22.8 |
| discovery | 12.1 | 6.0 | 45.4 |
| info | 12.3 | 8.1 | 42.2 |
| neutral | 18.2 | 19.2 | 17.1 |
The discovery suggestion starts out colliding with Dark Violet under Deuteranopia — ΔE₀₀ 6.0, below the 11 threshold — so the engine shifts its hue within the discovery family until the pair pulls apart again.
Export Dark Violet
The same five formats the generator produces, for this scale. Copy any block, or open the tool to tweak the ramp first.
:root {
--color-color-50: #f6ebfb;
--color-color-100: #e5c2f4;
--color-color-200: #d499ed;
--color-color-300: #c370e6;
--color-color-400: #a933dc;
--color-color-500: #9400d3;
--color-color-600: #7600a9;
--color-color-700: #530076;
--color-color-800: #3b0054;
--color-color-900: #240033;
--color-color-950: #0c0011;
}$color-color-50: #f6ebfb;
$color-color-100: #e5c2f4;
$color-color-200: #d499ed;
$color-color-300: #c370e6;
$color-color-400: #a933dc;
$color-color-500: #9400d3;
$color-color-600: #7600a9;
$color-color-700: #530076;
$color-color-800: #3b0054;
$color-color-900: #240033;
$color-color-950: #0c0011;export const color = {
50: '#f6ebfb',
100: '#e5c2f4',
200: '#d499ed',
300: '#c370e6',
400: '#a933dc',
500: '#9400d3',
600: '#7600a9',
700: '#530076',
800: '#3b0054',
900: '#240033',
950: '#0c0011',
};{
"color": {
"50": "#f6ebfb",
"100": "#e5c2f4",
"200": "#d499ed",
"300": "#c370e6",
"400": "#a933dc",
"500": "#9400d3",
"600": "#7600a9",
"700": "#530076",
"800": "#3b0054",
"900": "#240033",
"950": "#0c0011"
}
}{
"color": {
"50": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.9647058823529412,
0.9215686274509803,
0.984313725490196
],
"alpha": 1,
"hex": "#F6EBFB"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:1",
"com.figma.isOverride": true
}
},
"100": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.8980392156862745,
0.7607843137254902,
0.9568627450980393
],
"alpha": 1,
"hex": "#E5C2F4"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:2",
"com.figma.isOverride": true
}
},
"200": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.8313725490196079,
0.6,
0.9294117647058824
],
"alpha": 1,
"hex": "#D499ED"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:3",
"com.figma.isOverride": true
}
},
"300": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.7647058823529411,
0.4392156862745098,
0.9019607843137255
],
"alpha": 1,
"hex": "#C370E6"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:4",
"com.figma.isOverride": true
}
},
"400": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.6627450980392157,
0.2,
0.8627450980392157
],
"alpha": 1,
"hex": "#A933DC"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:5",
"com.figma.isOverride": true
}
},
"500": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.5803921568627451,
0,
0.8274509803921568
],
"alpha": 1,
"hex": "#9400D3"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:6",
"com.figma.isOverride": true
}
},
"600": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.4627450980392157,
0,
0.6627450980392157
],
"alpha": 1,
"hex": "#7600A9"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:7",
"com.figma.isOverride": true
}
},
"700": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.3254901960784314,
0,
0.4627450980392157
],
"alpha": 1,
"hex": "#530076"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:8",
"com.figma.isOverride": true
}
},
"800": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.23137254901960785,
0,
0.32941176470588235
],
"alpha": 1,
"hex": "#3B0054"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:9",
"com.figma.isOverride": true
}
},
"900": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.1411764705882353,
0,
0.2
],
"alpha": 1,
"hex": "#240033"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:10",
"com.figma.isOverride": true
}
},
"950": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.047058823529411764,
0,
0.06666666666666667
],
"alpha": 1,
"hex": "#0C0011"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:11",
"com.figma.isOverride": true
}
}
},
"$extensions": {
"com.figma.modeName": "Value"
}
}