Skip to content

#684abc

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

RGB
104, 74, 188
HSL
256°, 46%, 51%
CMYK
45, 61, 0, 26
Luminance
0.1147

Every format

HEX#684abc
RGBrgb(104, 74, 188)
HSLhsl(256, 46%, 51%)
CMYKcmyk(45%, 61%, 0%, 26%)
LABlab(40.4 40.0 -56.0)
LCHlch(40.4 68.8 305.6)
OKLCHoklch(0.503 0.171 291.1)

Copy-ready code

/* CSS */
color: #684abc;
background-color: #684abc;
/* Tailwind (arbitrary) */
class="text-[#684abc] bg-[#684abc]"
/* SCSS */
$brand: #684abc;
/* SwiftUI */
Color(red: 0.408, green: 0.290, blue: 0.737)
/* Android */
Color.parseColor("#684abc")

Accessibility — WCAG contrast

Aa
#684abc on white: 6.37:1
AA ✓ pass · AA-large · AAA
Aa
#684abc on black: 3.29:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red40.8%
Green29.0%
Blue73.7%

CMYK percentages

Cyan44.7%
Magenta60.6%
Yellow0.0%
Key (black)26.3%

Color previews

#684abc text on a black background

contrast 3.29:1

Card sample

#684abc text on a white background

contrast 6.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #684abc;
Background color
Panel with #684abc background
background-color: #684abc;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #684abc;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(104, 74, 188, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(104, 74, 188, 0.45);
Border & gradient
Gradient panel
border: 3px solid #684abc;
background: linear-gradient(135deg, #684abc, #B44ABC);

Monochromatic scale

Palettes built from #684abc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #684abc in the Color Lab