Dark Mode Material

Material Design 3 dark theme with tonal surfaces, dynamic color, and the Material You design language.

M3 Dark Theme Tonal Elevation Roboto Material You

Color Palette

Material Design 3 dark theme colors derived from the tonal palette system. Primary purple (#D0BCFF) anchors the scheme with secondary and tertiary complements. Dark surfaces use tonal elevation rather than shadow to convey depth.

Primary

On Primary

Primary

#D0BCFF

On Primary

On Primary

#381E72

On Container

Primary Container

#4F378B

On Container

On Primary Container

#EADDFF

Secondary

On Secondary

Secondary

#CCC2DC

On Container

Secondary Container

#4A4458

Tertiary

On Tertiary

Tertiary

#EFB8C8

On Container

Tertiary Container

#633B48

Error

On Error

Error

#F2B8B5

On Container

Error Container

#8C1D18

Surface & Neutral

On Surface

Surface / Background

#1C1B1F

Surface

On Surface

#E6E1E5

Surface

On Surface Variant

#CAC4D0

Dark

Outline

#938F99

Light

Outline Variant

#49454F

Tonal Surface Elevation

In M3 dark theme, elevation is expressed through tonal surface colors rather than shadow. Higher surfaces receive a subtle primary-tinted white overlay, creating visual hierarchy without traditional drop shadows.

Lowest #0F0D13
Low #1D1B20
Container #211F26
High #2B2930
Highest #36343B

Type Scale

Material Design 3 type scale using Roboto Flex for display/headline roles and Roboto for body/label roles. Five categories (Display, Headline, Title, Body, Label) each with three sizes provide complete typographic hierarchy.

Display Large

57px / 400

Material

Display Medium

45px / 400

Dark Theme

Display Small

36px / 400

Tonal Surfaces


Headline Large

32px / 400

Dynamic Color

Headline Medium

28px / 400

Elevation System

Headline Small

24px / 400

Surface Containers


Title Large

22px / 400

Component Hierarchy

Title Medium

16px / 500

Navigation Labels

Title Small

14px / 500

Card Subheads


Body Large

16px / 400

Body text is set in Roboto at 16px. Generous letter-spacing of 0.5px ensures readability against dark surfaces where contrast demands precision.

Body Medium

14px / 400

Secondary body text at 14px works for supporting content and descriptions within cards and dialogs.

Body Small

12px / 400

Captions and helper text at 12px for form fields and metadata.


Label Large

14px / 500

BUTTON LABELS & CHIPS

Label Medium

12px / 500

FORM LABELS & NAVIGATION

Label Small

11px / 500

OVERLINES & BADGES

Spacing Scale

Material Design uses a 4px baseline grid. All spacing increments are multiples of 4, creating consistent rhythm across components: 4, 8, 16, 24, 32, 48, 64 pixels.

4px --space-xs
8px --space-sm
16px --space-md
24px --space-lg
32px --space-xl
48px --space-2xl
64px --space-3xl

Shape Scale

M3 defines a shape scale from None to Full. Corner radii communicate component roles: small radii for utility, large radii for prominent actions.

None
0px
Extra Small
4px
Small
8px
Medium
12px
Large
16px
Extra Large
28px
Full
9999px

Buttons

M3 provides five button types ranked by emphasis. Filled for highest emphasis, text for lowest. All use the full (pill) shape with 40px default height. FABs use larger shapes with elevation for primary actions.

Filled (Highest Emphasis)

Filled Tonal

Elevated

Outlined

Text (Lowest Emphasis)


Floating Action Buttons

Form Controls

M3 offers both outlined and filled text field variants. Outlined is the default, with a visible border that transforms on focus. Labels float above the field. Supporting text provides hints and validation.

Outlined Text Fields

We'll never share your email

Username must be at least 3 characters

Filled Text Fields


Checkboxes

Radio Buttons


Switches

Material You theming
Tonal elevation overlay
Surface color tokens

Cards & Panels

M3 defines three card variants: Elevated (shadow + surface tint), Filled (higher surface container), and Outlined (border). Each serves different emphasis levels in the layout hierarchy.

Elevated Cards

Design System

Material You

Dynamic color extraction creates personalized palettes from wallpaper content, applied across the entire system UI.

Theming

Dark Theme

Tonal surfaces replace shadow-based elevation. Higher surfaces receive subtle primary-tinted overlays for visual depth.

Filled Cards

Components

Shape System

M3 shape scale ranges from None (0px) to Full (pill). Corner radii communicate component importance and function within the layout.

Motion

Transitions

Standard easing and emphasized easing curves create natural, physics-based motion that guides attention without distraction.

Tokens

Design Tokens

Systematic naming conventions for colors, typography, and spacing ensure consistency across platforms and implementations.

Outlined Cards

Typography

Roboto Flex

Variable font with weight, width, and optical size axes for responsive type.

Accessibility

Contrast Ratios

Dark theme colors meet WCAG AA requirements for text readability.

Alerts & Notifications

Status messages use semantic color containers from the M3 palette. Each alert type pairs a container color with appropriate on-container text for guaranteed readability. Snackbars use inverse surface for temporary messages.

i

Information

Material Design 3 introduces tonal elevation for dark themes, replacing traditional shadow-based depth.

Success

Theme tokens have been applied successfully. All 28 color roles are now active across your component library.

!

Warning

Custom color overrides may reduce contrast ratios below WCAG AA thresholds. Review accessibility before deploying.

Error

Failed to generate tonal palette from the provided seed color. The hex value must be valid 6-digit format.

Snackbars

Snackbars use inverse surface colors to stand out from the dark theme. They appear temporarily at the bottom of the screen with optional actions.

File saved to drafts
Connection restored
3 items moved to archive