#682F79#682F79

#682F79 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 41.5% C 0.131 H 317.8°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#682F79
RGBrgb(104, 47, 121)
HSLhsl(286, 44%, 33%)
HSVhsv(286, 61%, 47%)
CMYKcmyk(14%, 61.2%, 0%, 52.5%)
CIE-LABlab(30.30, 37.87, -31.50)
CIE-LCHlch(30.30, 49.26, 320.24°)
OKLaboklab(41.52% 0.0971 -0.0879)
OKLCHoklch(41.52% 0.131 317.8)
XYZxyz(10.1761, 6.3570, 18.7764)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682F79 #40792F
analogous
#432F79 #682F79 #792F65
triadic
#682F79 #79682F #2F7968
tetradic
#682F79 #79432F #40792F #2F6579
square
#682F79 #79432F #40792F #2F6579
split-complementary
#682F79 #65792F #2F7943
monochromatic
#1C0D21 #421E4D #682F79 #8E40A5 #AB61C2

Accessibility & contrast

On white

9.25
#682F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#682F79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682F79
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682F79#FFFFFF#000000##FFFFFF
##682F791.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C447B
Deuteranopia (green-blind)
#324977
Tritanopia (blue-blind)
#683B4F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #682f79;
/* rgb */ color: rgb(104, 47, 121);
/* oklch */ color: oklch(41.5% 0.131 317.8);
Tailwind
colors: {
  custom: {
    50: '#956ba0',
    500: '#682f79',
    950: '#000000',
  },
}
SCSS
$custom: #682f79;
$custom-light: #956ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#682f79",
  "rgb": {
    "r": 104,
    "g": 47,
    "b": 121
  },
  "hsl": {
    "h": 286.216,
    "s": 44.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41522,
    "c": 0.13096,
    "h": 317.8
  },
  "luminance": 0.06357
}

Semantic roles & 50–950 ramp

primary
#682F79
secondary
#6DA85B
accent
#D45471
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D070F
muted
#7E7A7E

Preview Lab

Preview with #682F79

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

Preview Lab → · Contrast checker → · Palette generator →

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