#682A7D#682A7D

#682A7D is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.1% C 0.143 H 316.5°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#682A7D
RGBrgb(104, 42, 125)
HSLhsl(285, 50%, 33%)
HSVhsv(285, 66%, 49%)
CMYKcmyk(16.8%, 66.4%, 0%, 51%)
CIE-LABlab(29.61, 41.29, -35.11)
CIE-LCHlch(29.61, 54.20, 319.63°)
OKLaboklab(41.11% 0.1038 -0.0984)
OKLCHoklch(41.11% 0.143 316.5)
XYZxyz(10.2380, 6.0800, 20.0323)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682A7D #3F7D2A
analogous
#3E2A7D #682A7D #7D2A69
triadic
#682A7D #7D682A #2A7D68
tetradic
#682A7D #7D3E2A #3F7D2A #2A697D
square
#682A7D #7D3E2A #3F7D2A #2A697D
split-complementary
#682A7D #697D2A #2A7D3E
monochromatic
#1C0B21 #421B4F #682A7D #8E39AB #AC5AC8

Accessibility & contrast

On white

9.48
#682A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#682A7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682A7D
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682A7D#FFFFFF#000000##FFFFFF
##682A7D1.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4280
Deuteranopia (green-blind)
#2B487B
Tritanopia (blue-blind)
#67394F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #682a7d;
/* rgb */ color: rgb(104, 42, 125);
/* oklch */ color: oklch(41.1% 0.143 316.5);
Tailwind
colors: {
  custom: {
    50: '#9668a3',
    500: '#682a7d',
    950: '#000000',
  },
}
SCSS
$custom: #682a7d;
$custom-light: #9668a3;
$custom-dark: #000000;
JSON
{
  "hex": "#682a7d",
  "rgb": {
    "r": 104,
    "g": 42,
    "b": 125
  },
  "hsl": {
    "h": 284.819,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41106,
    "c": 0.14301,
    "h": 316.5
  },
  "luminance": 0.0608
}

Semantic roles & 50–950 ramp

primary
#682A7D
secondary
#6CAD56
accent
#D94F72
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #682A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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