#684A7A#684A7A

#684A7A is a mid, moderate violet. Relative luminance 0.092; OKLCH L 46.1% C 0.083 H 312.1°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#684A7A
RGBrgb(104, 74, 122)
HSLhsl(278, 24%, 38%)
HSVhsv(278, 39%, 48%)
CMYKcmyk(14.8%, 39.3%, 0%, 52.2%)
CIE-LABlab(36.45, 22.42, -22.45)
CIE-LCHlch(36.45, 31.73, 314.96°)
OKLaboklab(46.12% 0.0559 -0.0619)
OKLCHoklch(46.12% 0.083 312.1)
XYZxyz(11.6700, 9.2460, 19.5785)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684A7A #5C7A4A
analogous
#504A7A #684A7A #7A4A74
triadic
#684A7A #7A684A #4A7A68
tetradic
#684A7A #7A504A #5C7A4A #4A747A
square
#684A7A #7A504A #5C7A4A #4A747A
split-complementary
#684A7A #747A4A #4A7A50
monochromatic
#271C2E #483354 #684A7A #8862A0 #A588B7

Accessibility & contrast

On white

7.37
#684A7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#684A7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #684A7A
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684A7A#FFFFFF#000000##FFFFFF
##684A7A1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41547C
Deuteranopia (green-blind)
#485679
Tritanopia (blue-blind)
#66515C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #684a7a;
/* rgb */ color: rgb(104, 74, 122);
/* oklch */ color: oklch(46.1% 0.083 312.1);
Tailwind
colors: {
  custom: {
    50: '#947da0',
    500: '#684a7a',
    950: '#000000',
  },
}
SCSS
$custom: #684a7a;
$custom-light: #947da0;
$custom-dark: #000000;
JSON
{
  "hex": "#684a7a",
  "rgb": {
    "r": 104,
    "g": 74,
    "b": 122
  },
  "hsl": {
    "h": 277.5,
    "s": 24.49,
    "l": 38.431
  },
  "oklch": {
    "l": 0.46118,
    "c": 0.08342,
    "h": 312.1
  },
  "luminance": 0.09246
}

Semantic roles & 50–950 ramp

primary
#684A7A
secondary
#8BA37D
accent
#C16789
background
#F9F7F9
surface
#F1EEF2
border
#CBC9CC
text
#0D090E
muted
#7E7B7E

Preview Lab

Preview with #684A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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