#684288#684288

#684288 is a mid, moderate violet. Relative luminance 0.086; OKLCH L 45.4% C 0.116 H 307.5°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#684288
RGBrgb(104, 66, 136)
HSLhsl(273, 35%, 40%)
HSVhsv(273, 51%, 53%)
CMYKcmyk(23.5%, 51.5%, 0%, 46.7%)
CIE-LABlab(35.24, 30.68, -33.00)
CIE-LCHlch(35.24, 45.06, 312.92°)
OKLaboklab(45.44% 0.0708 -0.0924)
OKLCHoklch(45.44% 0.116 307.5)
XYZxyz(12.1002, 8.6172, 24.3136)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684288 #628842
analogous
#454288 #684288 #884285
triadic
#684288 #886842 #428868
tetradic
#684288 #884542 #628842 #428588
square
#684288 #884542 #628842 #428588
split-complementary
#684288 #858842 #428845
monochromatic
#291A36 #482E5F #684288 #8759AE #A582C2

Accessibility & contrast

On white

7.71
#684288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#684288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #684288
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684288#FFFFFF#000000##FFFFFF
##6842881.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F518A
Deuteranopia (green-blind)
#3A5386
Tritanopia (blue-blind)
#634E5E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #684288;
/* rgb */ color: rgb(104, 66, 136);
/* oklch */ color: oklch(45.4% 0.116 307.5);
Tailwind
colors: {
  custom: {
    50: '#9577ab',
    500: '#684288',
    950: '#000000',
  },
}
SCSS
$custom: #684288;
$custom-light: #9577ab;
$custom-dark: #000000;
JSON
{
  "hex": "#684288",
  "rgb": {
    "r": 104,
    "g": 66,
    "b": 136
  },
  "hsl": {
    "h": 272.571,
    "s": 34.653,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45441,
    "c": 0.1164,
    "h": 307.5
  },
  "luminance": 0.08617
}

Semantic roles & 50–950 ramp

primary
#684288
secondary
#91AD79
accent
#CB5D8F
background
#F9F7FA
surface
#F2EDF4
border
#CCC8CE
text
#0D0910
muted
#7E7B7F

Preview Lab

Preview with #684288

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

Preview Lab → · Contrast checker → · Palette generator →

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