#682F84#682F84

#682F84 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.2% C 0.143 H 312.8°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#682F84
RGBrgb(104, 47, 132)
HSLhsl(280, 47%, 35%)
HSVhsv(280, 64%, 52%)
CMYKcmyk(21.2%, 64.4%, 0%, 48.2%)
CIE-LABlab(30.98, 40.35, -37.30)
CIE-LCHlch(30.98, 54.95, 317.25°)
OKLaboklab(42.24% 0.0972 -0.1049)
OKLCHoklch(42.24% 0.143 312.8)
XYZxyz(10.8896, 6.6423, 22.5338)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682F84 #4B842F
analogous
#3D2F84 #682F84 #842F76
triadic
#682F84 #84682F #2F8468
tetradic
#682F84 #843D2F #4B842F #2F7684
square
#682F84 #843D2F #4B842F #2F7684
split-complementary
#682F84 #76842F #2F843D
monochromatic
#210F2A #441F57 #682F84 #8C3FB1 #A865C8

Accessibility & contrast

On white

9.02
#682F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#682F84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682F84
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682F84#FFFFFF#000000##FFFFFF
##682F841.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4687
Deuteranopia (green-blind)
#2A4A82
Tritanopia (blue-blind)
#653F55
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #682f84;
/* rgb */ color: rgb(104, 47, 132);
/* oklch */ color: oklch(42.2% 0.143 312.8);
Tailwind
colors: {
  custom: {
    50: '#966ba8',
    500: '#682f84',
    950: '#000000',
  },
}
SCSS
$custom: #682f84;
$custom-light: #966ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#682f84",
  "rgb": {
    "r": 104,
    "g": 47,
    "b": 132
  },
  "hsl": {
    "h": 280.235,
    "s": 47.486,
    "l": 35.098
  },
  "oklch": {
    "l": 0.42238,
    "c": 0.14299,
    "h": 312.8
  },
  "luminance": 0.06642
}

Semantic roles & 50–950 ramp

primary
#682F84
secondary
#7AAF60
accent
#D7517D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #682F84

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

Preview Lab → · Contrast checker → · Palette generator →

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