#684387#684387

#684387 is a mid, moderate violet. Relative luminance 0.087; OKLCH L 45.6% C 0.113 H 307.6°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#684387
RGBrgb(104, 67, 135)
HSLhsl(273, 34%, 40%)
HSVhsv(273, 50%, 53%)
CMYKcmyk(23%, 50.4%, 0%, 47.1%)
CIE-LABlab(35.41, 29.84, -32.10)
CIE-LCHlch(35.41, 43.83, 312.90°)
OKLaboklab(45.55% 0.0692 -0.0898)
OKLCHoklch(45.55% 0.113 307.6)
XYZxyz(12.0884, 8.7068, 23.9607)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684387 #628743
analogous
#464387 #684387 #874384
triadic
#684387 #876843 #438768
tetradic
#684387 #874643 #628743 #438487
square
#684387 #874643 #628743 #438487
split-complementary
#684387 #848743 #438746
monochromatic
#291A35 #482F5E #684387 #875AAD #A583C1

Accessibility & contrast

On white

7.66
#684387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#684387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #684387
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684387#FFFFFF#000000##FFFFFF
##6843871.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315289
Deuteranopia (green-blind)
#3B5485
Tritanopia (blue-blind)
#644E5E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #684387;
/* rgb */ color: rgb(104, 67, 135);
/* oklch */ color: oklch(45.6% 0.113 307.6);
Tailwind
colors: {
  custom: {
    50: '#9578aa',
    500: '#684387',
    950: '#000000',
  },
}
SCSS
$custom: #684387;
$custom-light: #9578aa;
$custom-dark: #000000;
JSON
{
  "hex": "#684387",
  "rgb": {
    "r": 104,
    "g": 67,
    "b": 135
  },
  "hsl": {
    "h": 272.647,
    "s": 33.663,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45554,
    "c": 0.11336,
    "h": 307.6
  },
  "luminance": 0.08707
}

Semantic roles & 50–950 ramp

primary
#684387
secondary
#91AC79
accent
#CA5E8F
background
#F9F7FA
surface
#F2EDF4
border
#CCC8CE
text
#0D0910
muted
#7E7B7F

Preview Lab

Preview with #684387

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

Preview Lab → · Contrast checker → · Palette generator →

#684387 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva