#684A84#684A84

#684A84 is a mid, moderate violet. Relative luminance 0.095; OKLCH L 46.6% C 0.097 H 306.9°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#684A84
RGBrgb(104, 74, 132)
HSLhsl(271, 28%, 40%)
HSVhsv(271, 44%, 52%)
CMYKcmyk(21.2%, 43.9%, 0%, 48.2%)
CIE-LABlab(36.94, 24.86, -27.85)
CIE-LCHlch(36.94, 37.33, 311.75°)
OKLaboklab(46.65% 0.0581 -0.0775)
OKLCHoklch(46.65% 0.097 306.9)
XYZxyz(12.3217, 9.5067, 23.0112)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684A84 #66844A
analogous
#4B4A84 #684A84 #844A83
triadic
#684A84 #84684A #4A8468
tetradic
#684A84 #844B4A #66844A #4A8384
square
#684A84 #844B4A #66844A #4A8384
split-complementary
#684A84 #83844A #4A844B
monochromatic
#2A1E36 #49345D #684A84 #8763A8 #A58BBE

Accessibility & contrast

On white

7.24
#684A84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#684A84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #684A84
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684A84#FFFFFF#000000##FFFFFF
##684A841.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5686
Deuteranopia (green-blind)
#445782
Tritanopia (blue-blind)
#645360
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #684a84;
/* rgb */ color: rgb(104, 74, 132);
/* oklch */ color: oklch(46.6% 0.097 306.9);
Tailwind
colors: {
  custom: {
    50: '#947da8',
    500: '#684a84',
    950: '#000000',
  },
}
SCSS
$custom: #684a84;
$custom-light: #947da8;
$custom-dark: #000000;
JSON
{
  "hex": "#684a84",
  "rgb": {
    "r": 104,
    "g": 74,
    "b": 132
  },
  "hsl": {
    "h": 271.034,
    "s": 28.155,
    "l": 40.392
  },
  "oklch": {
    "l": 0.46646,
    "c": 0.09683,
    "h": 306.9
  },
  "luminance": 0.09507
}

Semantic roles & 50–950 ramp

primary
#684A84
secondary
#94AA80
accent
#C46392
background
#F9F7FA
surface
#F1EEF4
border
#CBC9CE
text
#0D090F
muted
#7E7B7F

Preview Lab

Preview with #684A84

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#684A84 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva