#684A8D#684A8D

#684A8D is a mid, moderate violet. Relative luminance 0.098; OKLCH L 47.2% C 0.109 H 303.1°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#684A8D
RGBrgb(104, 74, 141)
HSLhsl(267, 31%, 42%)
HSVhsv(267, 48%, 55%)
CMYKcmyk(26.2%, 47.5%, 0%, 44.7%)
CIE-LABlab(37.41, 27.14, -32.61)
CIE-LCHlch(37.41, 42.43, 309.77°)
OKLaboklab(47.16% 0.0596 -0.0913)
OKLCHoklch(47.16% 0.109 303.1)
XYZxyz(12.9644, 9.7637, 26.3957)
Luminance0.0976 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684A8D #6F8D4A
analogous
#4A4D8D #684A8D #8A4A8D
triadic
#684A8D #8D684A #4A8D68
tetradic
#684A8D #8D4A4D #6F8D4A #4A8D8A
square
#684A8D #8D4A4D #6F8D4A #4A8D8A
split-complementary
#684A8D #8D8A4A #4D8D4A
monochromatic
#2D203D #4A3565 #684A8D #8666AF #A68EC4

Accessibility & contrast

On white

7.11
#684A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#684A8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #684A8D
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684A8D#FFFFFF#000000##FFFFFF
##684A8D1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37578F
Deuteranopia (green-blind)
#3F588B
Tritanopia (blue-blind)
#625665
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #684a8d;
/* rgb */ color: rgb(104, 74, 141);
/* oklch */ color: oklch(47.2% 0.109 303.1);
Tailwind
colors: {
  custom: {
    50: '#957dae',
    500: '#684a8d',
    950: '#000000',
  },
}
SCSS
$custom: #684a8d;
$custom-light: #957dae;
$custom-dark: #000000;
JSON
{
  "hex": "#684a8d",
  "rgb": {
    "r": 104,
    "g": 74,
    "b": 141
  },
  "hsl": {
    "h": 266.866,
    "s": 31.163,
    "l": 42.157
  },
  "oklch": {
    "l": 0.47156,
    "c": 0.10903,
    "h": 303.1
  },
  "luminance": 0.09764
}

Semantic roles & 50–950 ramp

primary
#684A8D
secondary
#9CB083
accent
#C76099
background
#F9F7FA
surface
#F2EEF4
border
#CCC9CE
text
#0D0910
muted
#7E7B7F

Preview Lab

Preview with #684A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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