#684AA4#684AA4

#684AA4 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 48.6% C 0.140 H 296.2°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#684AA4
RGBrgb(104, 74, 164)
HSLhsl(260, 38%, 47%)
HSVhsv(260, 55%, 64%)
CMYKcmyk(36.6%, 54.9%, 0%, 35.7%)
CIE-LABlab(38.76, 33.30, -44.34)
CIE-LCHlch(38.76, 55.45, 306.90°)
OKLaboklab(48.59% 0.0617 -0.1256)
OKLCHoklch(48.59% 0.14 296.2)
XYZxyz(14.8568, 10.5207, 36.3627)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684AA4 #86A44A
analogous
#4A59A4 #684AA4 #954AA4
triadic
#684AA4 #A4684A #4AA468
tetradic
#684AA4 #A44A59 #86A44A #4AA495
square
#684AA4 #A44A59 #86A44A #4AA495
split-complementary
#684AA4 #A4954A #59A44A
monochromatic
#332450 #4D377A #684AA4 #886EBD #AB98D0

Accessibility & contrast

On white

6.77
#684AA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#684AA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684AA4
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684AA4#FFFFFF#000000##FFFFFF
##684AA41.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235CA7
Deuteranopia (green-blind)
#2C5AA2
Tritanopia (blue-blind)
#5A5C70
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #684aa4;
/* rgb */ color: rgb(104, 74, 164);
/* oklch */ color: oklch(48.6% 0.140 296.2);
Tailwind
colors: {
  custom: {
    50: '#977dbf',
    500: '#684aa4',
    950: '#000000',
  },
}
SCSS
$custom: #684aa4;
$custom-light: #977dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#684aa4",
  "rgb": {
    "r": 104,
    "g": 74,
    "b": 164
  },
  "hsl": {
    "h": 260,
    "s": 37.815,
    "l": 46.667
  },
  "oklch": {
    "l": 0.48594,
    "c": 0.13995,
    "h": 296.2
  },
  "luminance": 0.10521
}

Semantic roles & 50–950 ramp

primary
#684AA4
secondary
#ADBD8D
accent
#CE5AA7
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #684AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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