#682579#682579

#682579 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.2% C 0.146 H 318.8°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#682579
RGBrgb(104, 37, 121)
HSLhsl(288, 53%, 31%)
HSVhsv(288, 69%, 47%)
CMYKcmyk(14%, 69.4%, 0%, 52.5%)
CIE-LABlab(28.50, 42.80, -34.36)
CIE-LCHlch(28.50, 54.88, 321.24°)
OKLaboklab(40.22% 0.1101 -0.0962)
OKLCHoklch(40.22% 0.146 318.8)
XYZxyz(9.8212, 5.6471, 18.6581)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682579 #367925
analogous
#3E2579 #682579 #792560
triadic
#682579 #796825 #257968
tetradic
#682579 #793E25 #367925 #256079
square
#682579 #793E25 #367925 #256079
split-complementary
#682579 #607925 #25793E
monochromatic
#17081B #40174A #682579 #9033A8 #B14FC9

Accessibility & contrast

On white

9.86
#682579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#682579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682579
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682579#FFFFFF#000000##FFFFFF
##6825791.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053F7B
Deuteranopia (green-blind)
#2A4577
Tritanopia (blue-blind)
#68344C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #682579;
/* rgb */ color: rgb(104, 37, 121);
/* oklch */ color: oklch(40.2% 0.146 318.8);
Tailwind
colors: {
  custom: {
    50: '#9665a0',
    500: '#682579',
    950: '#000000',
  },
}
SCSS
$custom: #682579;
$custom-light: #9665a0;
$custom-dark: #000000;
JSON
{
  "hex": "#682579",
  "rgb": {
    "r": 104,
    "g": 37,
    "b": 121
  },
  "hsl": {
    "h": 287.857,
    "s": 53.165,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40224,
    "c": 0.14617,
    "h": 318.8
  },
  "luminance": 0.05647
}

Semantic roles & 50–950 ramp

primary
#682579
secondary
#61AB4E
accent
#DD4B69
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060F
muted
#7E7A7E

Preview Lab

Preview with #682579

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

Preview Lab → · Contrast checker → · Palette generator →

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