#682D82#682D82

#682D82 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 41.8% C 0.144 H 313.9°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#682D82
RGBrgb(104, 45, 130)
HSLhsl(282, 49%, 34%)
HSVhsv(282, 65%, 51%)
CMYKcmyk(20%, 65.4%, 0%, 49%)
CIE-LABlab(30.48, 40.91, -36.86)
CIE-LCHlch(30.48, 55.07, 317.98°)
OKLaboklab(41.83% 0.0998 -0.1036)
OKLCHoklch(41.83% 0.144 313.9)
XYZxyz(10.6759, 6.4319, 21.7939)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682D82 #47822D
analogous
#3E2D82 #682D82 #822D72
triadic
#682D82 #82682D #2D8268
tetradic
#682D82 #823E2D #47822D #2D7282
square
#682D82 #823E2D #47822D #2D7282
split-complementary
#682D82 #72822D #2D823E
monochromatic
#1F0E27 #441D55 #682D82 #8C3DAF #A961C8

Accessibility & contrast

On white

9.18
#682D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#682D82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682D82
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682D82#FFFFFF#000000##FFFFFF
##682D821.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4485
Deuteranopia (green-blind)
#294980
Tritanopia (blue-blind)
#663D53
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #682d82;
/* rgb */ color: rgb(104, 45, 130);
/* oklch */ color: oklch(41.8% 0.144 313.9);
Tailwind
colors: {
  custom: {
    50: '#966aa7',
    500: '#682d82',
    950: '#000000',
  },
}
SCSS
$custom: #682d82;
$custom-light: #966aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#682d82",
  "rgb": {
    "r": 104,
    "g": 45,
    "b": 130
  },
  "hsl": {
    "h": 281.647,
    "s": 48.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41834,
    "c": 0.14384,
    "h": 313.9
  },
  "luminance": 0.06432
}

Semantic roles & 50–950 ramp

primary
#682D82
secondary
#75AF5C
accent
#D85079
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #682D82

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

Preview Lab → · Contrast checker → · Palette generator →

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