Light Violet & Midnight Purple
A monochrome palette of 6 colors from the Afoli gallery: #1C0D2A, #443E4A, #605A73, #8C8597, #D9B3FC, #F9F4FF.
Open in the Afoli palette generator →
#1C0D2A · Midnight Blue#443E4A · Dark Slate Gray#605A73 · Dim Gray#8C8597 · Light Slate Gray#D9B3FC · Plum#F9F4FF · Ghost White
Colors in this palette
| HEX | RGB | HSL | CMYK | Nearest named color |
|---|---|---|---|---|
| #1C0D2A | rgb(28, 13, 42) | hsl(271, 53%, 11%) | 33, 69, 0, 84 | ≈ Midnight Blue |
| #443E4A | rgb(68, 62, 74) | hsl(270, 9%, 27%) | 8, 16, 0, 71 | ≈ Dark Slate Gray |
| #605A73 | rgb(96, 90, 115) | hsl(254, 12%, 40%) | 17, 22, 0, 55 | ≈ Dim Gray |
| #8C8597 | rgb(140, 133, 151) | hsl(263, 8%, 56%) | 7, 12, 0, 41 | ≈ Light Slate Gray |
| #D9B3FC | rgb(217, 179, 252) | hsl(271, 92%, 85%) | 14, 29, 0, 1 | ≈ Plum |
| #F9F4FF | rgb(249, 244, 255) | hsl(267, 100%, 98%) | 2, 4, 0, 0 | ≈ Ghost White |
Preview in a UI
A heading in the primary color
Body text on the background, as a page or an app would show it.
Text on a card · #D9B3FC
ButtonContrast of the UI pairs
| Pair | WCAG 2.x ratio | APCA Lc | Result |
|---|---|---|---|
| Body text on background | 17.02 : 1 | -101 | Pass |
| Text on a card | 9.55 : 1 | -92 | Pass |
| Button label | 10.35 : 1 | 70 | Pass (WCAG) |
| Heading on background | 10.35 : 1 | -69 | Pass |
| Link on a card | 5.80 : 1 | -60 | Pass (WCAG) |
| Accent badge on a card | 1.58 : 1 | -10 | Fail |
| Primary control on background | 10.35 : 1 | -69 | Pass |
CSS variables
:root {
--midnight-blue: #1C0D2A;
--dark-slate-gray: #443E4A;
--dim-gray: #605A73;
--light-slate-gray: #8C8597;
--plum: #D9B3FC;
--ghost-white: #F9F4FF;
}
How this palette was made
Afoli generated it from a fixed seed and kept it because it passes the gallery rules: every color is clearly distinct, one pair reaches 4.5 : 1 for text and the colors span a wide light-to-dark range. It is free to use (CC0).
Frequently asked questions
How do I use the Light Violet & Midnight Purple palette in CSS?
Copy the CSS variables on this page, or open the palette in the Afoli generator to export Tailwind, JSON, SVG, PNG or Adobe ASE.
Which colors of Light Violet & Midnight Purple can I use for text?
#1C0D2A text on #F9F4FF reaches 17.02 : 1, the strongest pair of the palette.
Similar palettes
- Deep Lilac & Almost Black
- Wisteria & Very Dark Purple
- Aubergine & Lavender Blush
- Dusk & Light Lavendar
- Grape Purple & Misty Rose
- Dark Slate Blue & Lavender Blush
Sources and licences
- Afoli palette gallery — own data, CC0 1.0 (scripts/color_palettes_build.mjs)
- CSS named colors (W3C) · xkcd color survey (CC0)