#682D7C#682D7C

#682D7C is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.4% C 0.137 H 316.6°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#682D7C
RGBrgb(104, 45, 124)
HSLhsl(285, 47%, 33%)
HSVhsv(285, 64%, 49%)
CMYKcmyk(16.1%, 63.7%, 0%, 51.4%)
CIE-LABlab(30.10, 39.57, -33.71)
CIE-LCHlch(30.10, 51.98, 319.57°)
OKLaboklab(41.44% 0.0999 -0.0943)
OKLCHoklch(41.44% 0.137 316.6)
XYZxyz(10.2849, 6.2754, 19.7344)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682D7C #417C2D
analogous
#402D7C #682D7C #7C2D68
triadic
#682D7C #7C682D #2D7C68
tetradic
#682D7C #7C402D #417C2D #2D687C
square
#682D7C #7C402D #417C2D #2D687C
split-complementary
#682D7C #687C2D #2D7C40
monochromatic
#1D0C22 #421D4F #682D7C #8E3DA9 #AB5FC5

Accessibility & contrast

On white

9.31
#682D7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#682D7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682D7C
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682D7C#FFFFFF#000000##FFFFFF
##682D7C1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15437E
Deuteranopia (green-blind)
#2E497A
Tritanopia (blue-blind)
#673B50
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #682d7c;
/* rgb */ color: rgb(104, 45, 124);
/* oklch */ color: oklch(41.4% 0.137 316.6);
Tailwind
colors: {
  custom: {
    50: '#966aa2',
    500: '#682d7c',
    950: '#000000',
  },
}
SCSS
$custom: #682d7c;
$custom-light: #966aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#682d7c",
  "rgb": {
    "r": 104,
    "g": 45,
    "b": 124
  },
  "hsl": {
    "h": 284.81,
    "s": 46.746,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41436,
    "c": 0.13738,
    "h": 316.6
  },
  "luminance": 0.06275
}

Semantic roles & 50–950 ramp

primary
#682D7C
secondary
#6EAB5A
accent
#D65173
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #682D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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