Closest to Indigo
#512DA8
Color conversions
Reference values for common CSS, design, and accessibility formats.
| Format | Value | Preview | Copy |
|---|---|---|---|
| HEX | 512DA8 | ||
| HEX with # | #512DA8 | ||
| RGB | rgb(81, 45, 168) | ||
| RGBA | rgba(81, 45, 168, 1) | ||
| HSL | hsl(257.56 57.75% 41.76%) | ||
| HSLA | hsla(257.56, 57.75%, 41.76%, 1) | ||
| HSV | hsv(257.56, 73.21%, 65.88%) | ||
| CMYK | cmyk(51.79%, 73.21%, 0%, 34.12%) | ||
| OKLCH | oklch(42.15% 0.1834 289.49) |
Closest named matches
Color modifications
Lighter shades
Saturation steps
Suggested pairings
Split-complementary
Try this combo as a gradientUse this color in CSS
--color: #512DA8;
bg-[#512da8]
Accessibility quick-check
White text
9.17:1
AAA normal
Black text
2.29:1
Decorative only
Reference notes
#512DA8 is a balanced, clear violet color closest to Indigo. The color has RGB channels of 81, 45, and 168; in HSL terms, it is centered near 258 degrees with 58% saturation and 42% lightness. In a design system, this cool reading is a useful shortcut for deciding whether the color should act as a primary accent, a supporting surface, or a quiet divider. The safest usage pattern is to test it against both light and dark surfaces, then reserve the weaker text pairing for decoration rather than essential labels. If the color feels too forceful at full strength, the lighter, darker, and desaturated variants usually provide a calmer path for production UI. For editorial or product interfaces, reserve the most saturated use for accents and repeat softer variants in borders, labels, or background fills. This makes it useful for backgrounds, supporting UI surfaces, editorial layouts, and restrained visual systems. In CSS systems, define it as a custom property first so variations, shadows, and gradients can stay consistent.