#682E83#682E83

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

Color values

HEX#682E83
RGBrgb(104, 46, 131)
HSLhsl(281, 48%, 35%)
HSVhsv(281, 65%, 51%)
CMYKcmyk(20.6%, 64.9%, 0%, 48.6%)
CIE-LABlab(30.73, 40.63, -37.08)
CIE-LCHlch(30.73, 55.01, 317.62°)
OKLaboklab(42.04% 0.0985 -0.1042)
OKLCHoklch(42.04% 0.143 313.4)
XYZxyz(10.7819, 6.5361, 22.1619)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682E83 #49832E
analogous
#3D2E83 #682E83 #832E74
triadic
#682E83 #83682E #2E8368
tetradic
#682E83 #833D2E #49832E #2E7483
square
#682E83 #833D2E #49832E #2E7483
split-complementary
#682E83 #74832E #2E833D
monochromatic
#200E28 #441E56 #682E83 #8C3EB0 #A863C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##682E83#FFFFFF#000000##FFFFFF
##682E831.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)
#0B4586
Deuteranopia (green-blind)
#294A81
Tritanopia (blue-blind)
#653E54
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #682e83;
/* rgb */ color: rgb(104, 46, 131);
/* oklch */ color: oklch(42.0% 0.143 313.4);
Tailwind
colors: {
  custom: {
    50: '#966ba7',
    500: '#682e83',
    950: '#000000',
  },
}
SCSS
$custom: #682e83;
$custom-light: #966ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#682e83",
  "rgb": {
    "r": 104,
    "g": 46,
    "b": 131
  },
  "hsl": {
    "h": 280.941,
    "s": 48.023,
    "l": 34.706
  },
  "oklch": {
    "l": 0.42035,
    "c": 0.14341,
    "h": 313.4
  },
  "luminance": 0.06536
}

Semantic roles & 50–950 ramp

primary
#682E83
secondary
#78AF5E
accent
#D8507B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #682E83

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

Preview Lab → · Contrast checker → · Palette generator →

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