#682C7C#682C7C

#682C7C is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.3% C 0.139 H 316.7°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#682C7C
RGBrgb(104, 44, 124)
HSLhsl(285, 48%, 33%)
HSVhsv(285, 65%, 49%)
CMYKcmyk(16.1%, 64.5%, 0%, 51.4%)
CIE-LABlab(29.91, 40.08, -34.00)
CIE-LCHlch(29.91, 52.56, 319.69°)
OKLaboklab(41.3% 0.1012 -0.0952)
OKLCHoklch(41.3% 0.139 316.7)
XYZxyz(10.2472, 6.2000, 19.7218)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682C7C #407C2C
analogous
#402C7C #682C7C #7C2C68
triadic
#682C7C #7C682C #2C7C68
tetradic
#682C7C #7C402C #407C2C #2C687C
square
#682C7C #7C402C #407C2C #2C687C
split-complementary
#682C7C #687C2C #2C7C40
monochromatic
#1C0C22 #421C4F #682C7C #8E3CA9 #AB5DC5

Accessibility & contrast

On white

9.38
#682C7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#682C7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682C7C
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682C7C#FFFFFF#000000##FFFFFF
##682C7C1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13437E
Deuteranopia (green-blind)
#2D487A
Tritanopia (blue-blind)
#673A50
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #682c7c;
/* rgb */ color: rgb(104, 44, 124);
/* oklch */ color: oklch(41.3% 0.139 316.7);
Tailwind
colors: {
  custom: {
    50: '#9669a2',
    500: '#682c7c',
    950: '#000000',
  },
}
SCSS
$custom: #682c7c;
$custom-light: #9669a2;
$custom-dark: #000000;
JSON
{
  "hex": "#682c7c",
  "rgb": {
    "r": 104,
    "g": 44,
    "b": 124
  },
  "hsl": {
    "h": 285,
    "s": 47.619,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41302,
    "c": 0.13893,
    "h": 316.7
  },
  "luminance": 0.062
}

Semantic roles & 50–950 ramp

primary
#682C7C
secondary
#6DAC58
accent
#D75172
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #682C7C

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

Preview Lab → · Contrast checker → · Palette generator →

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