#682E79#682E79

#682E79 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.4% C 0.133 H 317.9°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#682E79
RGBrgb(104, 46, 121)
HSLhsl(286, 45%, 33%)
HSVhsv(286, 62%, 47%)
CMYKcmyk(14%, 62%, 0%, 52.5%)
CIE-LABlab(30.10, 38.39, -31.81)
CIE-LCHlch(30.10, 49.86, 320.36°)
OKLaboklab(41.38% 0.0984 -0.0888)
OKLCHoklch(41.38% 0.133 317.9)
XYZxyz(10.1366, 6.2779, 18.7633)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682E79 #3F792E
analogous
#422E79 #682E79 #792E64
triadic
#682E79 #79682E #2E7968
tetradic
#682E79 #79422E #3F792E #2E6479
square
#682E79 #79422E #3F792E #2E6479
split-complementary
#682E79 #64792E #2E7942
monochromatic
#1C0C20 #421D4D #682E79 #8E3FA5 #AC5FC2

Accessibility & contrast

On white

9.31
#682E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#682E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682E79
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682E79#FFFFFF#000000##FFFFFF
##682E791.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B437B
Deuteranopia (green-blind)
#314977
Tritanopia (blue-blind)
#683A4F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #682e79;
/* rgb */ color: rgb(104, 46, 121);
/* oklch */ color: oklch(41.4% 0.133 317.9);
Tailwind
colors: {
  custom: {
    50: '#956aa0',
    500: '#682e79',
    950: '#000000',
  },
}
SCSS
$custom: #682e79;
$custom-light: #956aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#682e79",
  "rgb": {
    "r": 104,
    "g": 46,
    "b": 121
  },
  "hsl": {
    "h": 286.4,
    "s": 44.91,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41381,
    "c": 0.13258,
    "h": 317.9
  },
  "luminance": 0.06278
}

Semantic roles & 50–950 ramp

primary
#682E79
secondary
#6CA95A
accent
#D55371
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E070F
muted
#7E7A7E

Preview Lab

Preview with #682E79

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

Preview Lab → · Contrast checker → · Palette generator →

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