#682C7A#682C7A

#682C7A is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.2% C 0.137 H 317.7°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#682C7A
RGBrgb(104, 44, 122)
HSLhsl(286, 47%, 33%)
HSVhsv(286, 64%, 48%)
CMYKcmyk(14.8%, 63.9%, 0%, 52.2%)
CIE-LABlab(29.79, 39.64, -32.94)
CIE-LCHlch(29.79, 51.54, 320.27°)
OKLaboklab(41.17% 0.1012 -0.0921)
OKLCHoklch(41.17% 0.137 317.7)
XYZxyz(10.1220, 6.1500, 19.0625)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682C7A #3E7A2C
analogous
#412C7A #682C7A #7A2C65
triadic
#682C7A #7A682C #2C7A68
tetradic
#682C7A #7A412C #3E7A2C #2C657A
square
#682C7A #7A412C #3E7A2C #2C657A
split-complementary
#682C7A #657A2C #2C7A41
monochromatic
#1B0C20 #421C4D #682C7A #8E3CA7 #AC5CC4

Accessibility & contrast

On white

9.42
#682C7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#682C7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682C7A
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682C7A#FFFFFF#000000##FFFFFF
##682C7A1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15427C
Deuteranopia (green-blind)
#2F4878
Tritanopia (blue-blind)
#68394F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #682c7a;
/* rgb */ color: rgb(104, 44, 122);
/* oklch */ color: oklch(41.2% 0.137 317.7);
Tailwind
colors: {
  custom: {
    50: '#9669a1',
    500: '#682c7a',
    950: '#000000',
  },
}
SCSS
$custom: #682c7a;
$custom-light: #9669a1;
$custom-dark: #000000;
JSON
{
  "hex": "#682c7a",
  "rgb": {
    "r": 104,
    "g": 44,
    "b": 122
  },
  "hsl": {
    "h": 286.154,
    "s": 46.988,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41172,
    "c": 0.13681,
    "h": 317.7
  },
  "luminance": 0.0615
}

Semantic roles & 50–950 ramp

primary
#682C7A
secondary
#6BAA57
accent
#D75170
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060F
muted
#7E7A7E

Preview Lab

Preview with #682C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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