#682D7B#682D7B

#682D7B is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.4% C 0.136 H 317.1°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#682D7B
RGBrgb(104, 45, 123)
HSLhsl(285, 46%, 33%)
HSVhsv(285, 63%, 48%)
CMYKcmyk(15.4%, 63.4%, 0%, 51.8%)
CIE-LABlab(30.04, 39.35, -33.18)
CIE-LCHlch(30.04, 51.47, 319.86°)
OKLaboklab(41.37% 0.0998 -0.0928)
OKLCHoklch(41.37% 0.136 317.1)
XYZxyz(10.2219, 6.2503, 19.4030)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682D7B #407B2D
analogous
#412D7B #682D7B #7B2D67
triadic
#682D7B #7B682D #2D7B68
tetradic
#682D7B #7B412D #407B2D #2D677B
square
#682D7B #7B412D #407B2D #2D677B
split-complementary
#682D7B #677B2D #2D7B41
monochromatic
#1C0C21 #421D4E #682D7B #8E3DA8 #AB5EC4

Accessibility & contrast

On white

9.33
#682D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#682D7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682D7B
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682D7B#FFFFFF#000000##FFFFFF
##682D7B1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16437D
Deuteranopia (green-blind)
#2F4979
Tritanopia (blue-blind)
#673A4F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #682d7b;
/* rgb */ color: rgb(104, 45, 123);
/* oklch */ color: oklch(41.4% 0.136 317.1);
Tailwind
colors: {
  custom: {
    50: '#966aa1',
    500: '#682d7b',
    950: '#000000',
  },
}
SCSS
$custom: #682d7b;
$custom-light: #966aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#682d7b",
  "rgb": {
    "r": 104,
    "g": 45,
    "b": 123
  },
  "hsl": {
    "h": 285.385,
    "s": 46.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41371,
    "c": 0.13631,
    "h": 317.1
  },
  "luminance": 0.0625
}

Semantic roles & 50–950 ramp

primary
#682D7B
secondary
#6DAB59
accent
#D65272
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #682D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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