#682A74#682A74

#682A74 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 40.5% C 0.134 H 320.8°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#682A74
RGBrgb(104, 42, 116)
HSLhsl(290, 47%, 31%)
HSVhsv(290, 64%, 45%)
CMYKcmyk(10.3%, 63.8%, 0%, 54.5%)
CIE-LABlab(29.06, 39.36, -30.30)
CIE-LCHlch(29.06, 49.67, 322.40°)
OKLaboklab(40.52% 0.1037 -0.0844)
OKLCHoklch(40.52% 0.134 320.8)
XYZxyz(9.6889, 5.8604, 17.1404)
Luminance0.0586 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682A74 #36742A
analogous
#432A74 #682A74 #742A5B
triadic
#682A74 #74682A #2A7468
tetradic
#682A74 #74432A #36742A #2A5B74
square
#682A74 #74432A #36742A #2A5B74
split-complementary
#682A74 #5B742A #2A7443
monochromatic
#17091A #401A47 #682A74 #903AA1 #B156C2

Accessibility & contrast

On white

9.67
#682A74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#682A74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682A74
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682A74#FFFFFF#000000##FFFFFF
##682A741.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194076
Deuteranopia (green-blind)
#314772
Tritanopia (blue-blind)
#69364B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #682a74;
/* rgb */ color: rgb(104, 42, 116);
/* oklch */ color: oklch(40.5% 0.134 320.8);
Tailwind
colors: {
  custom: {
    50: '#95689c',
    500: '#682a74',
    950: '#000000',
  },
}
SCSS
$custom: #682a74;
$custom-light: #95689c;
$custom-dark: #000000;
JSON
{
  "hex": "#682a74",
  "rgb": {
    "r": 104,
    "g": 42,
    "b": 116
  },
  "hsl": {
    "h": 290.27,
    "s": 46.835,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40524,
    "c": 0.13369,
    "h": 320.8
  },
  "luminance": 0.0586
}

Semantic roles & 50–950 ramp

primary
#682A74
secondary
#61A654
accent
#D65167
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #682A74

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

Preview Lab → · Contrast checker → · Palette generator →

#682A74 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva