#682F71#682F71

#682F71 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.0% C 0.122 H 322.0°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#682F71
RGBrgb(104, 47, 113)
HSLhsl(292, 41%, 31%)
HSVhsv(292, 58%, 44%)
CMYKcmyk(8%, 58.4%, 0%, 55.7%)
CIE-LABlab(29.83, 36.14, -27.17)
CIE-LCHlch(29.83, 45.22, 323.07°)
OKLaboklab(41.04% 0.0965 -0.0753)
OKLCHoklch(41.04% 0.122 322)
XYZxyz(9.7058, 6.1688, 16.2990)
Luminance0.0617 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682F71 #38712F
analogous
#472F71 #682F71 #712F59
triadic
#682F71 #71682F #2F7168
tetradic
#682F71 #71472F #38712F #2F5971
square
#682F71 #71472F #38712F #2F5971
split-complementary
#682F71 #59712F #2F7147
monochromatic
#180B1B #401D46 #682F71 #90419C #AF5EBC

Accessibility & contrast

On white

9.40
#682F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #682F71
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682F71#FFFFFF#000000##FFFFFF
##682F711.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234273
Deuteranopia (green-blind)
#37496F
Tritanopia (blue-blind)
#69384B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #682f71;
/* rgb */ color: rgb(104, 47, 113);
/* oklch */ color: oklch(41.0% 0.122 322.0);
Tailwind
colors: {
  custom: {
    50: '#956b9a',
    500: '#682f71',
    950: '#000000',
  },
}
SCSS
$custom: #682f71;
$custom-light: #956b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#682f71",
  "rgb": {
    "r": 104,
    "g": 47,
    "b": 113
  },
  "hsl": {
    "h": 291.818,
    "s": 41.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41035,
    "c": 0.12241,
    "h": 322
  },
  "luminance": 0.06168
}

Semantic roles & 50–950 ramp

primary
#682F71
secondary
#63A25A
accent
#D15767
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D070E
muted
#7E7A7E

Preview Lab

Preview with #682F71

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

Preview Lab → · Contrast checker → · Palette generator →

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