#682A7A#682A7A

#682A7A is a dark, vivid purple. Relative luminance 0.060; OKLCH L 40.9% C 0.140 H 317.9°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#682A7A
RGBrgb(104, 42, 122)
HSLhsl(287, 49%, 32%)
HSVhsv(287, 66%, 48%)
CMYKcmyk(14.8%, 65.6%, 0%, 52.2%)
CIE-LABlab(29.42, 40.64, -33.52)
CIE-LCHlch(29.42, 52.68, 320.48°)
OKLaboklab(40.91% 0.1038 -0.0938)
OKLCHoklch(40.91% 0.14 317.9)
XYZxyz(10.0492, 6.0045, 19.0382)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682A7A #3C7A2A
analogous
#402A7A #682A7A #7A2A64
triadic
#682A7A #7A682A #2A7A68
tetradic
#682A7A #7A402A #3C7A2A #2A647A
square
#682A7A #7A402A #3C7A2A #2A647A
split-complementary
#682A7A #647A2A #2A7A40
monochromatic
#1A0B1F #411A4C #682A7A #8F3AA8 #AD59C6

Accessibility & contrast

On white

9.54
#682A7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#682A7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682A7A
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682A7A#FFFFFF#000000##FFFFFF
##682A7A1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11417C
Deuteranopia (green-blind)
#2D4778
Tritanopia (blue-blind)
#68384E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #682a7a;
/* rgb */ color: rgb(104, 42, 122);
/* oklch */ color: oklch(40.9% 0.140 317.9);
Tailwind
colors: {
  custom: {
    50: '#9668a1',
    500: '#682a7a',
    950: '#000000',
  },
}
SCSS
$custom: #682a7a;
$custom-light: #9668a1;
$custom-dark: #000000;
JSON
{
  "hex": "#682a7a",
  "rgb": {
    "r": 104,
    "g": 42,
    "b": 122
  },
  "hsl": {
    "h": 286.5,
    "s": 48.78,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40908,
    "c": 0.13987,
    "h": 317.9
  },
  "luminance": 0.06004
}

Semantic roles & 50–950 ramp

primary
#682A7A
secondary
#68AB55
accent
#D84F6E
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060F
muted
#7E7A7E

Preview Lab

Preview with #682A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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