#682E7A#682E7A

#682E7A is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.4% C 0.134 H 317.5°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#682E7A
RGBrgb(104, 46, 122)
HSLhsl(286, 45%, 33%)
HSVhsv(286, 62%, 48%)
CMYKcmyk(14.8%, 62.3%, 0%, 52.2%)
CIE-LABlab(30.16, 38.61, -32.34)
CIE-LCHlch(30.16, 50.37, 320.05°)
OKLaboklab(41.45% 0.0985 -0.0904)
OKLCHoklch(41.45% 0.134 317.5)
XYZxyz(10.1983, 6.3026, 19.0879)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682E7A #407A2E
analogous
#422E7A #682E7A #7A2E66
triadic
#682E7A #7A682E #2E7A68
tetradic
#682E7A #7A422E #407A2E #2E667A
square
#682E7A #7A422E #407A2E #2E667A
split-complementary
#682E7A #667A2E #2E7A42
monochromatic
#1C0C21 #421D4E #682E7A #8E3FA6 #AB60C3

Accessibility & contrast

On white

9.29
#682E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#682E7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682E7A
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682E7A#FFFFFF#000000##FFFFFF
##682E7A1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19437C
Deuteranopia (green-blind)
#304978
Tritanopia (blue-blind)
#673B4F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #682e7a;
/* rgb */ color: rgb(104, 46, 122);
/* oklch */ color: oklch(41.4% 0.134 317.5);
Tailwind
colors: {
  custom: {
    50: '#956aa1',
    500: '#682e7a',
    950: '#000000',
  },
}
SCSS
$custom: #682e7a;
$custom-light: #956aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#682e7a",
  "rgb": {
    "r": 104,
    "g": 46,
    "b": 122
  },
  "hsl": {
    "h": 285.789,
    "s": 45.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41445,
    "c": 0.13365,
    "h": 317.5
  },
  "luminance": 0.06302
}

Semantic roles & 50–950 ramp

primary
#682E7A
secondary
#6DAA5A
accent
#D55372
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E070F
muted
#7E7A7E

Preview Lab

Preview with #682E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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