#682A71#682A71

#682A71 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.3% C 0.131 H 322.4°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#682A71
RGBrgb(104, 42, 113)
HSLhsl(292, 46%, 30%)
HSVhsv(292, 63%, 44%)
CMYKcmyk(8%, 62.8%, 0%, 55.7%)
CIE-LABlab(28.88, 38.73, -28.68)
CIE-LCHlch(28.88, 48.19, 323.48°)
OKLaboklab(40.34% 0.1035 -0.0797)
OKLCHoklch(40.34% 0.131 322.4)
XYZxyz(9.5172, 5.7917, 16.2362)
Luminance0.0579 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682A71 #33712A
analogous
#442A71 #682A71 #712A56
triadic
#682A71 #71682A #2A7168
tetradic
#682A71 #71442A #33712A #2A5671
square
#682A71 #71442A #33712A #2A5671
split-complementary
#682A71 #56712A #2A7144
monochromatic
#160918 #3F1944 #682A71 #913B9E #B255C0

Accessibility & contrast

On white

9.73
#682A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#682A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682A71
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682A71#FFFFFF#000000##FFFFFF
##682A711.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3F73
Deuteranopia (green-blind)
#33476F
Tritanopia (blue-blind)
#693549
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #682a71;
/* rgb */ color: rgb(104, 42, 113);
/* oklch */ color: oklch(40.3% 0.131 322.4);
Tailwind
colors: {
  custom: {
    50: '#95689a',
    500: '#682a71',
    950: '#000000',
  },
}
SCSS
$custom: #682a71;
$custom-light: #95689a;
$custom-dark: #000000;
JSON
{
  "hex": "#682a71",
  "rgb": {
    "r": 104,
    "g": 42,
    "b": 113
  },
  "hsl": {
    "h": 292.394,
    "s": 45.806,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40339,
    "c": 0.13064,
    "h": 322.4
  },
  "luminance": 0.05791
}

Semantic roles & 50–950 ramp

primary
#682A71
secondary
#5EA354
accent
#D55263
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #682A71

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

Preview Lab → · Contrast checker → · Palette generator →

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