Skip to content
HSLA color value

hsla(270, 50%, 40%, 1) Color Code

Inspect hsla(270, 50%, 40%, 1) as a HSLA color value and compare it with other supported color formats, conversions and analysis tools.

Preview
No color name
Parsed by engine
Current value
#663399

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.41
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.
HSLA value
hsla(270, 50%, 40%, 1)

Color Conversion

Same color in multiple code formats.

Export formats

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

#663399
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
#916cb6
Shade
Darkened version
#4e2774
Tone
Muted version
#6c4494
Monochrome
Single-hue family
#381c54

Related content

auto-linked
Tags
Styles
Use cases
Palettes
Similar colors

Meaning / Aesthetic / Framework

content ready
Meaning
Aesthetic
Framework

hsla(270, 50%, 40%, 1) Color Code

Inspect hsla(270, 50%, 40%, 1) as a HSLA color value and compare it with other supported color formats, conversions and analysis tools.

663399

HSLA color reference

This page shows hsla(270, 50%, 40%, 1) as a HSLA color value together with its equivalent HEX, RGB, HSL, CMYK, LAB, LCH and OKLCH representations.

Explore HSLA and related color formats

Compare this color value across the other supported color models and open their dedicated format pages.