#682D85#682D85

#682D85 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.0% C 0.147 H 312.7°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#682D85
RGBrgb(104, 45, 133)
HSLhsl(280, 49%, 35%)
HSVhsv(280, 66%, 52%)
CMYKcmyk(21.8%, 66.2%, 0%, 47.8%)
CIE-LABlab(30.67, 41.60, -38.42)
CIE-LCHlch(30.67, 56.62, 317.28°)
OKLaboklab(42.04% 0.0997 -0.1081)
OKLCHoklch(42.04% 0.147 312.7)
XYZxyz(10.8802, 6.5136, 22.8699)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682D85 #4A852D
analogous
#3C2D85 #682D85 #852D76
triadic
#682D85 #85682D #2D8568
tetradic
#682D85 #853C2D #4A852D #2D7685
square
#682D85 #853C2D #4A852D #2D7685
split-complementary
#682D85 #76852D #2D853C
monochromatic
#200E2A #441E57 #682D85 #8C3CB3 #A862CA

Accessibility & contrast

On white

9.12
#682D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#682D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682D85
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682D85#FFFFFF#000000##FFFFFF
##682D851.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024588
Deuteranopia (green-blind)
#274983
Tritanopia (blue-blind)
#653E55
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #682d85;
/* rgb */ color: rgb(104, 45, 133);
/* oklch */ color: oklch(42.0% 0.147 312.7);
Tailwind
colors: {
  custom: {
    50: '#966aa9',
    500: '#682d85',
    950: '#000000',
  },
}
SCSS
$custom: #682d85;
$custom-light: #966aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#682d85",
  "rgb": {
    "r": 104,
    "g": 45,
    "b": 133
  },
  "hsl": {
    "h": 280.227,
    "s": 49.438,
    "l": 34.902
  },
  "oklch": {
    "l": 0.42038,
    "c": 0.14709,
    "h": 312.7
  },
  "luminance": 0.06513
}

Semantic roles & 50–950 ramp

primary
#682D85
secondary
#79B05D
accent
#D94F7C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #682D85

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

Preview Lab → · Contrast checker → · Palette generator →

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