#682C73#682C73

#682C73 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 40.7% C 0.129 H 321.2°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#682C73
RGBrgb(104, 44, 115)
HSLhsl(291, 45%, 31%)
HSVhsv(291, 62%, 45%)
CMYKcmyk(9.6%, 61.7%, 0%, 54.9%)
CIE-LABlab(29.37, 38.13, -29.18)
CIE-LCHlch(29.37, 48.01, 322.58°)
OKLaboklab(40.73% 0.1009 -0.0811)
OKLCHoklch(40.73% 0.129 321.2)
XYZxyz(9.7038, 5.9827, 16.8600)
Luminance0.0598 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682C73 #37732C
analogous
#442C73 #682C73 #732C5A
triadic
#682C73 #73682C #2C7368
tetradic
#682C73 #73442C #37732C #2C5A73
square
#682C73 #73442C #37732C #2C5A73
split-complementary
#682C73 #5A732C #2C7344
monochromatic
#180A1A #401B47 #682C73 #903D9F #B05AC0

Accessibility & contrast

On white

9.56
#682C73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#682C73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682C73
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682C73#FFFFFF#000000##FFFFFF
##682C731.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4175
Deuteranopia (green-blind)
#334771
Tritanopia (blue-blind)
#69374B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #682c73;
/* rgb */ color: rgb(104, 44, 115);
/* oklch */ color: oklch(40.7% 0.129 321.2);
Tailwind
colors: {
  custom: {
    50: '#95699b',
    500: '#682c73',
    950: '#000000',
  },
}
SCSS
$custom: #682c73;
$custom-light: #95699b;
$custom-dark: #000000;
JSON
{
  "hex": "#682c73",
  "rgb": {
    "r": 104,
    "g": 44,
    "b": 115
  },
  "hsl": {
    "h": 290.704,
    "s": 44.654,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40732,
    "c": 0.12947,
    "h": 321.2
  },
  "luminance": 0.05982
}

Semantic roles & 50–950 ramp

primary
#682C73
secondary
#62A556
accent
#D45367
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D060E
muted
#7E7A7E

Preview Lab

Preview with #682C73

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

Preview Lab → · Contrast checker → · Palette generator →

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