Closest to Blue Violet
#6040E0
Color conversions
Reference values for common CSS, design, and accessibility formats.
| Format | Value | Preview | Copy |
|---|---|---|---|
| HEX | 6040E0 | ||
| HEX with # | #6040E0 | ||
| RGB | rgb(96, 64, 224) | ||
| RGBA | rgba(96, 64, 224, 1) | ||
| HSL | hsl(252 72.07% 56.47%) | ||
| HSLA | hsla(252, 72.07%, 56.47%, 1) | ||
| HSV | hsv(252, 71.43%, 87.84%) | ||
| CMYK | cmyk(57.14%, 71.43%, 0%, 12.16%) | ||
| OKLCH | oklch(51.07% 0.2275 284.07) |
Closest named matches
Color modifications
Lighter shades
Saturation steps
Suggested pairings
Split-complementary
Try this combo as a gradientUse this color in CSS
--color: #6040E0;
bg-[#6040e0]
Accessibility quick-check
White text
6.35:1
AA normal
Black text
3.31:1
AA large
Reference notes
#6040E0 is a balanced, saturated violet color closest to Blue Violet. The color has RGB channels of 96, 64, and 224; in HSL terms, it is centered near 252 degrees with 72% saturation and 56% 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 badges, highlights, product accents, and moments where quick recognition matters. In CSS systems, define it as a custom property first so variations, shadows, and gradients can stay consistent.