#682F80#682F80

#682F80 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.0% C 0.139 H 314.5°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#682F80
RGBrgb(104, 47, 128)
HSLhsl(282, 46%, 34%)
HSVhsv(282, 63%, 50%)
CMYKcmyk(18.8%, 63.3%, 0%, 49.8%)
CIE-LABlab(30.72, 39.44, -35.21)
CIE-LCHlch(30.72, 52.87, 318.24°)
OKLaboklab(41.97% 0.0972 -0.0988)
OKLCHoklch(41.97% 0.139 314.5)
XYZxyz(10.6211, 6.5349, 21.1198)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682F80 #47802F
analogous
#402F80 #682F80 #802F70
triadic
#682F80 #80682F #2F8068
tetradic
#682F80 #80402F #47802F #2F7080
square
#682F80 #80402F #47802F #2F7080
split-complementary
#682F80 #70802F #2F8040
monochromatic
#1F0E26 #441F53 #682F80 #8C3FAD #A963C6

Accessibility & contrast

On white

9.10
#682F80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#682F80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682F80
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682F80#FFFFFF#000000##FFFFFF
##682F801.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144583
Deuteranopia (green-blind)
#2D4A7E
Tritanopia (blue-blind)
#663E53
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #682f80;
/* rgb */ color: rgb(104, 47, 128);
/* oklch */ color: oklch(42.0% 0.139 314.5);
Tailwind
colors: {
  custom: {
    50: '#966ba5',
    500: '#682f80',
    950: '#000000',
  },
}
SCSS
$custom: #682f80;
$custom-light: #966ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#682f80",
  "rgb": {
    "r": 104,
    "g": 47,
    "b": 128
  },
  "hsl": {
    "h": 282.222,
    "s": 46.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41972,
    "c": 0.13859,
    "h": 314.5
  },
  "luminance": 0.06535
}

Semantic roles & 50–950 ramp

primary
#682F80
secondary
#75AD5E
accent
#D65279
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #682F80

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

Preview Lab → · Contrast checker → · Palette generator →

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