#684AAF#684AAF

#684AAF is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.3% C 0.154 H 293.7°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#684AAF
RGBrgb(104, 74, 175)
HSLhsl(258, 41%, 49%)
HSVhsv(258, 58%, 69%)
CMYKcmyk(40.6%, 57.7%, 0%, 31.4%)
CIE-LABlab(39.47, 36.36, -49.74)
CIE-LCHlch(39.47, 61.62, 306.17°)
OKLaboklab(49.35% 0.062 -0.1415)
OKLCHoklch(49.35% 0.154 293.7)
XYZxyz(15.8935, 10.9354, 41.8225)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684AAF #91AF4A
analogous
#4A5FAF #684AAF #9B4AAF
triadic
#684AAF #AF684A #4AAF68
tetradic
#684AAF #AF4A5F #91AF4A #4AAF9B
square
#684AAF #AF4A5F #91AF4A #4AAF9B
split-complementary
#684AAF #AF9B4A #5FAF4A
monochromatic
#352659 #4E3884 #684AAF #8B73C4 #AE9ED6

Accessibility & contrast

On white

6.59
#684AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#684AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684AAF
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684AAF#FFFFFF#000000##FFFFFF
##684AAF1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105EB2
Deuteranopia (green-blind)
#1D5BAD
Tritanopia (blue-blind)
#556075
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #684aaf;
/* rgb */ color: rgb(104, 74, 175);
/* oklch */ color: oklch(49.3% 0.154 293.7);
Tailwind
colors: {
  custom: {
    50: '#987dc7',
    500: '#684aaf',
    950: '#000000',
  },
}
SCSS
$custom: #684aaf;
$custom-light: #987dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#684aaf",
  "rgb": {
    "r": 104,
    "g": 74,
    "b": 175
  },
  "hsl": {
    "h": 257.822,
    "s": 40.562,
    "l": 48.824
  },
  "oklch": {
    "l": 0.49346,
    "c": 0.15443,
    "h": 293.7
  },
  "luminance": 0.10936
}

Semantic roles & 50–950 ramp

primary
#684AAF
secondary
#B4C292
accent
#D057AC
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #684AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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