#682D80#682D80

#682D80 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 41.7% C 0.142 H 314.8°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#682D80
RGBrgb(104, 45, 128)
HSLhsl(283, 48%, 34%)
HSVhsv(283, 65%, 50%)
CMYKcmyk(18.8%, 64.8%, 0%, 49.8%)
CIE-LABlab(30.35, 40.46, -35.81)
CIE-LCHlch(30.35, 54.04, 318.49°)
OKLaboklab(41.7% 0.0999 -0.1005)
OKLCHoklch(41.7% 0.142 314.8)
XYZxyz(10.5430, 6.3787, 21.0937)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682D80 #45802D
analogous
#3F2D80 #682D80 #802D6F
triadic
#682D80 #80682D #2D8068
tetradic
#682D80 #803F2D #45802D #2D6F80
square
#682D80 #803F2D #45802D #2D6F80
split-complementary
#682D80 #6F802D #2D803F
monochromatic
#1E0D25 #431D53 #682D80 #8D3DAD #A960C7

Accessibility & contrast

On white

9.23
#682D80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#682D80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682D80
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682D80#FFFFFF#000000##FFFFFF
##682D801.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4483
Deuteranopia (green-blind)
#2B497E
Tritanopia (blue-blind)
#663C52
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #682d80;
/* rgb */ color: rgb(104, 45, 128);
/* oklch */ color: oklch(41.7% 0.142 314.8);
Tailwind
colors: {
  custom: {
    50: '#966aa5',
    500: '#682d80',
    950: '#000000',
  },
}
SCSS
$custom: #682d80;
$custom-light: #966aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#682d80",
  "rgb": {
    "r": 104,
    "g": 45,
    "b": 128
  },
  "hsl": {
    "h": 282.651,
    "s": 47.977,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41699,
    "c": 0.14168,
    "h": 314.8
  },
  "luminance": 0.06378
}

Semantic roles & 50–950 ramp

primary
#682D80
secondary
#73AE5B
accent
#D85077
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #682D80

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

Preview Lab → · Contrast checker → · Palette generator →

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