#684A9C#684A9C

#684A9C is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.1% C 0.129 H 298.3°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#684A9C
RGBrgb(104, 74, 156)
HSLhsl(262, 36%, 45%)
HSVhsv(262, 53%, 61%)
CMYKcmyk(33.3%, 52.6%, 0%, 38.8%)
CIE-LABlab(38.27, 31.11, -40.33)
CIE-LCHlch(38.27, 50.94, 307.65°)
OKLaboklab(48.07% 0.0613 -0.1138)
OKLCHoklch(48.07% 0.129 298.3)
XYZxyz(14.1570, 10.2408, 32.6769)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684A9C #7E9C4A
analogous
#4A559C #684A9C #914A9C
triadic
#684A9C #9C684A #4A9C68
tetradic
#684A9C #9C4A55 #7E9C4A #4A9C91
square
#684A9C #9C4A55 #7E9C4A #4A9C91
split-complementary
#684A9C #9C914A #559C4A
monochromatic
#312349 #4C3672 #684A9C #876BB9 #A994CC

Accessibility & contrast

On white

6.89
#684A9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#684A9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684A9C
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684A9C#FFFFFF#000000##FFFFFF
##684A9C1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5A9F
Deuteranopia (green-blind)
#34599A
Tritanopia (blue-blind)
#5D5A6C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #684a9c;
/* rgb */ color: rgb(104, 74, 156);
/* oklch */ color: oklch(48.1% 0.129 298.3);
Tailwind
colors: {
  custom: {
    50: '#967dba',
    500: '#684a9c',
    950: '#000000',
  },
}
SCSS
$custom: #684a9c;
$custom-light: #967dba;
$custom-dark: #000000;
JSON
{
  "hex": "#684a9c",
  "rgb": {
    "r": 104,
    "g": 74,
    "b": 156
  },
  "hsl": {
    "h": 261.951,
    "s": 35.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.48073,
    "c": 0.12928,
    "h": 298.3
  },
  "luminance": 0.10241
}

Semantic roles & 50–950 ramp

primary
#684A9C
secondary
#A7B889
accent
#CC5CA3
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0E0A11
muted
#7E7C80

Preview Lab

Preview with #684A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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