#682979#682979

#682979 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 40.7% C 0.140 H 318.5°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#682979
RGBrgb(104, 41, 121)
HSLhsl(287, 49%, 32%)
HSVhsv(287, 66%, 47%)
CMYKcmyk(14%, 66.1%, 0%, 52.5%)
CIE-LABlab(29.18, 40.91, -33.27)
CIE-LCHlch(29.18, 52.73, 320.88°)
OKLaboklab(40.72% 0.1051 -0.093)
OKLCHoklch(40.72% 0.14 318.5)
XYZxyz(9.9526, 5.9098, 18.7019)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682979 #3A7929
analogous
#402979 #682979 #792962
triadic
#682979 #796829 #297968
tetradic
#682979 #794029 #3A7929 #296279
square
#682979 #794029 #3A7929 #296279
split-complementary
#682979 #627929 #297940
monochromatic
#190A1E #411A4B #682979 #8F38A7 #AE56C6

Accessibility & contrast

On white

9.63
#682979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#682979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682979
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682979#FFFFFF#000000##FFFFFF
##6829791.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10417B
Deuteranopia (green-blind)
#2D4777
Tritanopia (blue-blind)
#68374D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #682979;
/* rgb */ color: rgb(104, 41, 121);
/* oklch */ color: oklch(40.7% 0.140 318.5);
Tailwind
colors: {
  custom: {
    50: '#9667a0',
    500: '#682979',
    950: '#000000',
  },
}
SCSS
$custom: #682979;
$custom-light: #9667a0;
$custom-dark: #000000;
JSON
{
  "hex": "#682979",
  "rgb": {
    "r": 104,
    "g": 41,
    "b": 121
  },
  "hsl": {
    "h": 287.25,
    "s": 49.383,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40715,
    "c": 0.14036,
    "h": 318.5
  },
  "luminance": 0.05909
}

Semantic roles & 50–950 ramp

primary
#682979
secondary
#66AB53
accent
#D94F6C
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060F
muted
#7E7A7E

Preview Lab

Preview with #682979

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

Preview Lab → · Contrast checker → · Palette generator →

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