#682E71#682E71

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

Color values

HEX#682E71
RGBrgb(104, 46, 113)
HSLhsl(292, 42%, 31%)
HSVhsv(292, 59%, 44%)
CMYKcmyk(8%, 59.3%, 0%, 55.7%)
CIE-LABlab(29.64, 36.67, -27.48)
CIE-LCHlch(29.64, 45.82, 323.15°)
OKLaboklab(40.89% 0.0979 -0.0762)
OKLCHoklch(40.89% 0.124 322.1)
XYZxyz(9.6662, 6.0898, 16.2859)
Luminance0.0609 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682E71 #37712E
analogous
#462E71 #682E71 #712E58
triadic
#682E71 #71682E #2E7168
tetradic
#682E71 #71462E #37712E #2E5871
square
#682E71 #71462E #37712E #2E5871
split-complementary
#682E71 #58712E #2E7146
monochromatic
#180B1A #401C46 #682E71 #90409C #B05DBD

Accessibility & contrast

On white

9.47
#682E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#682E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682E71
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682E71#FFFFFF#000000##FFFFFF
##682E711.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #682e71;
/* rgb */ color: rgb(104, 46, 113);
/* oklch */ color: oklch(40.9% 0.124 322.1);
Tailwind
colors: {
  custom: {
    50: '#956a9a',
    500: '#682e71',
    950: '#000000',
  },
}
SCSS
$custom: #682e71;
$custom-light: #956a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#682e71",
  "rgb": {
    "r": 104,
    "g": 46,
    "b": 113
  },
  "hsl": {
    "h": 291.94,
    "s": 42.138,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40891,
    "c": 0.12409,
    "h": 322.1
  },
  "luminance": 0.06089
}

Semantic roles & 50–950 ramp

primary
#682E71
secondary
#62A258
accent
#D25667
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D070E
muted
#7E7A7E

Preview Lab

Preview with #682E71

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

Preview Lab → · Contrast checker → · Palette generator →

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