Magic UIBrand
UI and animation libraries · DESIGN.md · measured November 4, 2026
Material Design design system
Light interface · Google Sans, Google Sans Text · 4px corners
- #F8F1F6
- #DCDAF5
- #4D4256
- #6442D6
From m3.material.io ↗ · 204 elements at 1440×900 and 390×844 Independent analysis, not affiliated with Material Design
Material Design color palette
6 colors with hex codes, grouped by where each one is used on the page.
Surfaces
#F8F1F6backgroundPage background · 20×#DCDAF5surface-container-lowRaised areas one step from the page · 1×Text
#4D4256on-surfacePrimary text and headings · 33×#1C1B1Don-surface-strongHeadings and emphasis · 31×#FFFFFFon-primaryText and icons on primaryAccents
#6442D6primaryPrimary buttons and calls to action · 22×Material Design fonts and type scale
2 families.
mobile 45px
mobile 36px
Contrast
Text on #F8F1F6
8.4:115.4:1Spacing
No strict grid · 61% are multiples of 4px
xs2pxsm8pxmd10pxlg20pxxl64pxgutter20pxsection64pxmargin40pxcontainer1200pxBreakpoints: 600px 601px 960px 961px 1294px 1295px
Shapes
Corner radii, most used first.
Depth
Material Design UI components
Rebuilt from the measured CSS.
Motion
Interface transitions
0.3s0.2scubic-bezier(0.2, 0, 0, 1)linear
Do’s and don’ts
Rules written from the measurements, so a coding agent stays on style.
- Use #F8F1F6 for the page and lift surfaces in small steps: #DCDAF5.
- Keep text in 2 levels: #4D4256, #1C1B1D.
- Reserve #6442D6 for primary actions and key highlights.
- Reuse the measured spacing steps (8px, 10px, 20px).
- Use 4px corners on most elements; larger surfaces also use 24px, 16px and 48px.
- Introduce new font families beyond Google Sans and Google Sans Text.
- Use #6442D6 for large backgrounds or body text.
- Make interface transitions slower than 0.3s.
---
version: alpha
name: Material Design
description: "Light interface measured from m3.material.io: Google Sans type with Google Sans Text, violet accents, tonal surfaces and 4px corners."
colors:
background: "#F8F1F6"
surface: "#F8F1F6"
on-surface: "#4D4256"
on-background: "#4D4256"
on-surface-strong: "#1C1B1D"
surface-container-low: "#DCDAF5"
primary: "#6442D6"
on-primary: "#FFFFFF"
typography:
headline-display:
fontFamily: Google Sans
fontSize: 96px
fontWeight: 475
lineHeight: 1
headline-lg:
fontFamily: Google Sans
fontSize: 57px
fontWeight: 475
lineHeight: 1.12
headline-md:
fontFamily: Google Sans Text
fontSize: 22px
fontWeight: 400
lineHeight: 1.36
body-md:
fontFamily: Google Sans Text
fontSize: 16px
fontWeight: 400
lineHeight: 1.5
label-md:
fontFamily: Google Sans Text
fontSize: 16px
fontWeight: 500
lineHeight: 1.5
label-sm:
fontFamily: Google Sans Text
fontSize: 14px
fontWeight: 500
lineHeight: 1.43
headline-display-mobile:
fontFamily: Google Sans
fontSize: 45px
fontWeight: 475
lineHeight: 1.16
headline-lg-mobile:
fontFamily: Google Sans
fontSize: 36px
fontWeight: 475
lineHeight: 1.22
rounded:
sm: 4px
md: 16px
lg: 24px
xl: 48px
full: 9999px
spacing:
xs: 2px
sm: 8px
md: 10px
lg: 20px
xl: 64px
gutter: 20px
section: 64px
margin: 40px
container: 1200px
components:
button-primary:
backgroundColor: "{colors.primary}"
textColor: "{colors.on-primary}"
typography: "{typography.label-md}"
rounded: "{rounded.xl}"
padding: 1px
height: 82px
button-outline:
backgroundColor: "#F1D3F9"
textColor: "{colors.on-surface}"
typography: "{typography.label-md}"
rounded: "{rounded.md}"
padding: 2px
height: 56px
button-outline-hover:
textColor: "#271430"
button-ghost:
textColor: "{colors.on-surface}"
typography: "{typography.label-md}"
rounded: "{rounded.sm}"
padding: 2px
link:
textColor: "{colors.on-surface-strong}"
---
# Material Design Design System
## Overview
Material Design describes itself as: “Material Design 3 - Google's open-source design system, provides comprehensive guidelines, styles, & components to create user-friendly interfaces.” The interface is light, built on **Snow (#F8F1F6)** with **Dark Violet (#4D4256)** text, and **Violet (#6442D6)** as the main accent.
Type is set in **Google Sans** and **Google Sans Text**. Headlines run large; body text is 16px. Depth comes from soft drop shadows. Corners are mostly 4px.
Measured from [m3.material.io](https://m3.material.io/) on November 4, 2026 at 1440×900 and 390×844 from 204 rendered elements. Values are computed styles from the live page, not the original source files.
## Colors
The palette has 6 roles.
- **Snow (#F8F1F6):** Page background, seen 20 times. Token `background`.
- **Dark Violet (#4D4256):** Primary text and headings, seen 33 times. Token `on-surface`.
- **Charcoal (#1C1B1D):** Headings and emphasis, seen 31 times. Token `on-surface-strong`.
- **Pale Indigo (#DCDAF5):** Raised areas one step from the page, seen 1 time. Token `surface-container-low`.
- **Violet (#6442D6):** Primary buttons and calls to action, seen 22 times. Token `primary`.
- **White (#FFFFFF):** Text and icons on primary. Token `on-primary`.
## Typography
**Google Sans** and **Google Sans Text** share the interface. Fallback stack: `Google Sans, sans-serif`. Other loaded fonts: Google Symbols.
- **headline-display:** Google Sans 96px at weight 475, line height 1 (45px on mobile). Page title (h1).
- **headline-lg:** Google Sans 57px at weight 475, line height 1.12 (36px on mobile). Section headings (h2).
- **headline-md:** Google Sans Text 22px at weight 400, line height 1.36. Sub-section headings.
- **body-md:** Google Sans Text 16px at weight 400, line height 1.5. Body text.
- **label-md:** Google Sans Text 16px at weight 500, line height 1.5. Buttons, navigation and labels.
- **label-sm:** Google Sans Text 14px at weight 500, line height 1.43. Small labels and badges.
## Layout
Spacing does not follow a strict grid: 61% of measured values are multiples of 4px, so match the measured steps rather than rounding to a grid.
- **Scale:** xs 2px, sm 8px, md 10px, lg 20px, xl 64px.
- **Sections:** 64px vertical padding between major sections.
- **Gaps:** 20px is the most common gap in flex and grid layouts.
- **Container:** content is capped at 1200px.
- **Page margin:** 40px on each side of full-width sections.
- **Breakpoints:** 600px, 601px, 960px, 961px, 1294px, 1295px.
## Elevation & Depth
Raised elements use soft drop shadows. The most used recipes:
- `rgba(0, 0, 0, 0.3) 0px 1px 2px 0px, rgba(0, 0, 0, 0.15) 0px 1px 3px 1px`
## Shapes
Most elements use 4px corners. Measured radii, most used first:
- **sm (4px):** 120 elements.
- **lg (24px):** 80 elements.
- **md (16px):** 36 elements.
- **xl (48px):** 8 elements.
- **full (9999px):** 4 elements.
## Components
Measured from the rendered page. Token values reference the tokens above.
- **button-primary (“Get started”):** #6442D6 fill, #FFFFFF text, 16px/500, 48px radius, padding 1px.
- **button-outline (“search”):** #F1D3F9 fill, #4D4256 text, 16px/500, 16px radius, padding 2px.
- **button-outline-hover:** background #F1D3F9, text #271430 on hover.
- **button-ghost (“code Develop”):** transparent fill, #4D4256 text, 16px/500, 4px radius, padding 2px.
- **link:** transparent fill, #1C1B1D text, padding 0px.
## Do's and Don'ts
- Do use #F8F1F6 for the page and lift surfaces in small steps: #DCDAF5.
- Do keep text in 2 levels: #4D4256, #1C1B1D.
- Do reserve #6442D6 for primary actions and key highlights.
- Do reuse the measured spacing steps (8px, 10px, 20px).
- Do use 4px corners on most elements; larger surfaces also use 24px, 16px and 48px.
- Don't introduce new font families beyond Google Sans and Google Sans Text.
- Don't use #6442D6 for large backgrounds or body text.
- Don't make interface transitions slower than 0.3s.
## Motion
Interface transitions are quick: 0.3s, 0.2s.
- **Easing:** `cubic-bezier(0.2, 0, 0, 1)`, `linear`.
Generated by [Sitepeel](https://sitepeel.dev/design-md/m3.material.io/), the free DESIGN.md generator (engine 2026.10.29+b828a475ee10).
Fonts
What font does Material Design use?
Material Design uses Google Sans (weight 475) and Google Sans Text (weights 400 and 500) on m3.material.io. Page titles are 96px at weight 475 (45px on phones) and body text is 16px. Measured on November 4, 2026.
- AaGoogle Sans · 475
- AaGoogle Sans Text · 400, 500
Colors
Material Design colors: palette and hex codes
Material Design’s main colors are #F8F1F6 (snow) for the background, #4D4256 (dark violet) for text and #6442D6 (violet) as the main accent. Measured on November 4, 2026.
- #F8F1F6 · snow
- #4D4256 · dark violet
- #1C1B1D · charcoal
- #DCDAF5 · pale indigo
- #6442D6 · violet
- #FFFFFF · white
Tech stack
What is Material Design built with?
Material Design’s website (m3.material.io) is built with Angular, Lit, Google Cloud and Google Fonts. Measured on November 4, 2026.
- JavaScript framework
- Angular 13.4.0, Lit 2.5.1
- Hosting & CDN
- Google Cloud
- Fonts & icons
- Google Fonts
- Analytics
- Google Analytics, Google Tag Manager
What you can build with it
Landing pages, pricing tables, dashboards: your AI coding agent builds them in this style, with these colors, fonts, spacing and buttons instead of its defaults.
Download DESIGN.md, put it in your project’s root folder, then ask your agent for a page.
Build a landing page for my product. Follow for every color, font, spacing value, corner and button.
Need a page behind a login?
The DESIGN.md generator Chrome extension makes one from any page you have open, including dashboards and pages behind a login.
More in UI and animation libraries
All DESIGN.md examples →Not in the library? Make a DESIGN.md from any site.
FAQ
Material Design design system questions
What font does Material Design use?
Material Design’s website uses Google Sans (weight 475) and Google Sans Text (weights 400 and 500). Page titles are 96px at weight 475 (45px on phones) and body text is 16px. Measured on November 4, 2026.
What are the Material Design colors and hex codes?
On m3.material.io: #F8F1F6 (snow) for the background, #4D4256 (dark violet) for text and #6442D6 (violet) as the main accent. The color palette above lists all 6 colors with their hex codes and where each one is used.
What is the Material Design design system?
The design system on this page is m3.material.io’s, as measured on November 4, 2026: Google Sans type, #6442D6 as the main color and 4px corners, written down as a DESIGN.md. It is not Material Design’s own documentation.
What is Material Design built with?
Material Design’s website (m3.material.io) is built with Angular, Lit, Google Cloud and Google Fonts. The full tech stack Sitepeel found: Angular, Lit, Google Cloud, Google Fonts, Google Analytics and Google Tag Manager. Measured on November 4, 2026.
What is the Material Design DESIGN.md?
A plain-text file with Material Design’s measured colors, type, spacing, corners and components as tokens, plus short rules, in the DESIGN.md format Google published with Stitch. Your AI coding agent reads it and builds in this style. More about DESIGN.md.
How do I use it with Claude Code or Cursor?
Download the file and put it in your project’s root folder, then ask your agent to follow DESIGN.md. Step-by-step guides: Claude Code, Cursor, Codex, GitHub Copilot.
Is this Material Design’s official design system?
No. Sitepeel measured it from m3.material.io’s public page on November 4, 2026. It is an independent analysis, not made or approved by Material Design.
Can I use Material Design’s style in my own product?
Use it to learn, prototype and compare. For a real product, make the style your own, and never copy Material Design’s logo, name, pictures or text.
How accurate are the values?
Each value was measured on the rendered page after it fully loaded, on desktop and mobile: colors where they appear, type with tracking, spacing, corners, shadows and hover states. Sites change, so check the date at the top.




