#682C86#682C86

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

Color values

HEX#682C86
RGBrgb(104, 44, 134)
HSLhsl(280, 51%, 35%)
HSVhsv(280, 67%, 53%)
CMYKcmyk(22.4%, 67.2%, 0%, 47.5%)
CIE-LABlab(30.56, 42.33, -39.22)
CIE-LCHlch(30.56, 57.70, 317.18°)
OKLaboklab(41.98% 0.1009 -0.1105)
OKLCHoklch(41.98% 0.15 312.4)
XYZxyz(10.9119, 6.4659, 23.2229)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682C86 #4A862C
analogous
#3B2C86 #682C86 #862C77
triadic
#682C86 #86682C #2C8668
tetradic
#682C86 #863B2C #4A862C #2C7786
square
#682C86 #863B2C #4A862C #2C7786
split-complementary
#682C86 #77862C #2C863B
monochromatic
#200E2A #441D58 #682C86 #8C3BB4 #A861CB

Accessibility & contrast

On white

9.16
#682C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #682C86
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682C86#FFFFFF#000000##FFFFFF
##682C861.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #682c86;
/* rgb */ color: rgb(104, 44, 134);
/* oklch */ color: oklch(42.0% 0.150 312.4);
Tailwind
colors: {
  custom: {
    50: '#966aaa',
    500: '#682c86',
    950: '#000000',
  },
}
SCSS
$custom: #682c86;
$custom-light: #966aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#682c86",
  "rgb": {
    "r": 104,
    "g": 44,
    "b": 134
  },
  "hsl": {
    "h": 280,
    "s": 50.562,
    "l": 34.902
  },
  "oklch": {
    "l": 0.41977,
    "c": 0.14963,
    "h": 312.4
  },
  "luminance": 0.06466
}

Semantic roles & 50–950 ramp

primary
#682C86
secondary
#79B15C
accent
#DA4E7D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #682C86

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

Preview Lab → · Contrast checker → · Palette generator →

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