#hexpedia

Closest to Dark Slate Blue

#6040A0

Color conversions

Reference values for common CSS, design, and accessibility formats.

FormatValueCopy
HEX6040A0
HEX with ##6040A0
RGBrgb(96, 64, 160)
RGBArgba(96, 64, 160, 1)
HSLhsl(260 42.86% 43.92%)
HSLAhsla(260, 42.86%, 43.92%, 1)
HSVhsv(260, 60%, 62.75%)
CMYKcmyk(40%, 60%, 0%, 37.25%)
OKLCHoklch(45.83% 0.1491 295.24)

Closest named matches

Color modifications

Suggested pairings

Use this color in CSS

Accessibility quick-check

White text

7.67:1

AAA normal

Black text

2.74:1

Decorative only

Reference notes

#6040A0 is a balanced, clear violet color closest to Dark Slate Blue. The color has RGB channels of 96, 64, and 160; in HSL terms, it is centered near 260 degrees with 43% saturation and 44% 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.