Skip to content
RGB / Dark Magenta

Dark Magenta in RGB

Dark Magenta in RGB: rgb(139, 0, 139). Compare HEX, RGB, HSL, CMYK, LAB, LCH and OKLCH.

Open color page
Dark Magenta
Canonical color page
Current value
rgb(139, 0, 139)

Full breakdown

The same color in multiple formats.

Formats

The same color in different formats:

Foreground preview
WCAG contrast checker and foreground picker
Best auto foreground
Best contrast with white
#ffffff
Auto-selects the strongest contrast against the current background.
Readable text preview
The quick brown fox jumps over the lazy dog.
Button preview
Contrast ratio
8.50
Excellent accessibility
Element AA AAA
Small text Pass Pass
Large text Pass
UI elements / graphics Pass N/A
AA for normal text is typically 4.5:1, AA for large text 3:1, AAA for normal text 7:1, and non-text UI elements typically 3:1.

Export formats

Ready-to-copy snippets for developers, apps, frameworks, and design systems.

#8B008B
CSS variable
Tokens
JSON token
Tokens
Tailwind config
Tokens
SCSS variable
Tokens
JavaScript
Frontend
TypeScript
Frontend
Inline style
Frontend
CSS class
Frontend
Android XML
Mobile
SwiftUI
Mobile
Swift UIColor
Mobile
Kotlin
Mobile
Flutter
Mobile
React Native
Mobile
SVG fill
Graphics
SVG stroke
Graphics

Color Variations

tint / shade
Tint
Lightened version
#ab47ab
Shade
Darkened version
#6a006a
Tone
Muted version
#891c89
Monochrome
Single-hue family
#2f002f

Related content

auto-linked
Tags
Styles
Use cases
Palettes
Similar colors

Meaning / Aesthetic / Framework

content ready
Meaning
Aesthetic
Framework

More formats for Dark Magenta