#684A8A#684A8A

#684A8A is a mid, moderate violet. Relative luminance 0.097; OKLCH L 47.0% C 0.105 H 304.3°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#684A8A
RGBrgb(104, 74, 138)
HSLhsl(268, 30%, 42%)
HSVhsv(268, 46%, 54%)
CMYKcmyk(24.6%, 46.4%, 0%, 45.9%)
CIE-LABlab(37.25, 26.37, -31.04)
CIE-LCHlch(37.25, 40.73, 310.36°)
OKLaboklab(46.98% 0.0591 -0.0867)
OKLCHoklch(46.98% 0.105 304.3)
XYZxyz(12.7442, 9.6756, 25.2360)
Luminance0.0968 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684A8A #6C8A4A
analogous
#4A4C8A #684A8A #884A8A
triadic
#684A8A #8A684A #4A8A68
tetradic
#684A8A #8A4A4C #6C8A4A #4A8A88
square
#684A8A #8A4A4C #6C8A4A #4A8A88
split-complementary
#684A8A #8A884A #4C8A4A
monochromatic
#2C1F3A #4A3562 #684A8A #8665AC #A68DC2

Accessibility & contrast

On white

7.15
#684A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#684A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #684A8A
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684A8A#FFFFFF#000000##FFFFFF
##684A8A1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39578C
Deuteranopia (green-blind)
#405888
Tritanopia (blue-blind)
#625563
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #684a8a;
/* rgb */ color: rgb(104, 74, 138);
/* oklch */ color: oklch(47.0% 0.105 304.3);
Tailwind
colors: {
  custom: {
    50: '#957dac',
    500: '#684a8a',
    950: '#000000',
  },
}
SCSS
$custom: #684a8a;
$custom-light: #957dac;
$custom-dark: #000000;
JSON
{
  "hex": "#684a8a",
  "rgb": {
    "r": 104,
    "g": 74,
    "b": 138
  },
  "hsl": {
    "h": 268.125,
    "s": 30.189,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46983,
    "c": 0.10495,
    "h": 304.3
  },
  "luminance": 0.09676
}

Semantic roles & 50–950 ramp

primary
#684A8A
secondary
#99AE82
accent
#C66197
background
#F9F7FA
surface
#F2EEF4
border
#CCC9CE
text
#0D0910
muted
#7E7B7F

Preview Lab

Preview with #684A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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