Skip to content

#6d2acd

a balanced, vivid violet · warm · closest name: indigo

RGB
109, 42, 205
HSL
265°, 66%, 48%
CMYK
47, 80, 0, 20
Luminance
0.0931

Every format

HEX#6d2acd
RGBrgb(109, 42, 205)
HSLhsl(265, 66%, 48%)
CMYKcmyk(47%, 80%, 0%, 20%)
LABlab(36.6 61.3 -72.0)
LCHlch(36.6 94.6 310.4)
OKLCHoklch(0.481 0.228 294.8)

Copy-ready code

/* CSS */
color: #6d2acd;
background-color: #6d2acd;
/* Tailwind (arbitrary) */
class="text-[#6d2acd] bg-[#6d2acd]"
/* SCSS */
$brand: #6d2acd;
/* SwiftUI */
Color(red: 0.427, green: 0.165, blue: 0.804)
/* Android */
Color.parseColor("#6d2acd")

Accessibility — WCAG contrast

Aa
#6d2acd on white: 7.34:1
AA ✓ pass · AA-large · AAA
Aa
#6d2acd on black: 2.86:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red42.7%
Green16.5%
Blue80.4%

CMYK percentages

Cyan46.8%
Magenta79.5%
Yellow0.0%
Key (black)19.6%

Color previews

#6d2acd text on a black background

contrast 2.86:1

Card sample

#6d2acd text on a white background

contrast 7.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #6d2acd;
Background color
Panel with #6d2acd background
background-color: #6d2acd;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #6d2acd;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(109, 42, 205, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(109, 42, 205, 0.45);
Border & gradient
Gradient panel
border: 3px solid #6d2acd;
background: linear-gradient(135deg, #6d2acd, #CD2AC0);

Monochromatic scale

Palettes built from #6d2acd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #6d2acd in the Color Lab