#682C76#682C76

#682C76 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 40.9% C 0.133 H 319.6°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#682C76
RGBrgb(104, 44, 118)
HSLhsl(289, 46%, 32%)
HSVhsv(289, 63%, 46%)
CMYKcmyk(11.9%, 62.7%, 0%, 53.7%)
CIE-LABlab(29.55, 38.77, -30.80)
CIE-LCHlch(29.55, 49.52, 321.54°)
OKLaboklab(40.92% 0.1011 -0.0859)
OKLCHoklch(40.92% 0.133 319.6)
XYZxyz(9.8792, 6.0529, 17.7840)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682C76 #3A762C
analogous
#432C76 #682C76 #762C5F
triadic
#682C76 #76682C #2C7668
tetradic
#682C76 #76432C #3A762C #2C5F76
square
#682C76 #76432C #3A762C #2C5F76
split-complementary
#682C76 #5F762C #2C7643
monochromatic
#190B1D #411B49 #682C76 #8F3DA3 #AE5BC2

Accessibility & contrast

On white

9.50
#682C76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#682C76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682C76
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682C76#FFFFFF#000000##FFFFFF
##682C761.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4178
Deuteranopia (green-blind)
#314874
Tritanopia (blue-blind)
#68384C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #682c76;
/* rgb */ color: rgb(104, 44, 118);
/* oklch */ color: oklch(40.9% 0.133 319.6);
Tailwind
colors: {
  custom: {
    50: '#95699e',
    500: '#682c76',
    950: '#000000',
  },
}
SCSS
$custom: #682c76;
$custom-light: #95699e;
$custom-dark: #000000;
JSON
{
  "hex": "#682c76",
  "rgb": {
    "r": 104,
    "g": 44,
    "b": 118
  },
  "hsl": {
    "h": 288.649,
    "s": 45.679,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40918,
    "c": 0.1326,
    "h": 319.6
  },
  "luminance": 0.06052
}

Semantic roles & 50–950 ramp

primary
#682C76
secondary
#66A756
accent
#D5526B
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #682C76

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

Preview Lab → · Contrast checker → · Palette generator →

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