#682C7B#682C7B

#682C7B is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.2% C 0.138 H 317.2°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#682C7B
RGBrgb(104, 44, 123)
HSLhsl(286, 47%, 33%)
HSVhsv(286, 64%, 48%)
CMYKcmyk(15.4%, 64.2%, 0%, 51.8%)
CIE-LABlab(29.85, 39.86, -33.47)
CIE-LCHlch(29.85, 52.05, 319.98°)
OKLaboklab(41.24% 0.1012 -0.0937)
OKLCHoklch(41.24% 0.138 317.2)
XYZxyz(10.1842, 6.1749, 19.3905)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682C7B #3F7B2C
analogous
#412C7B #682C7B #7B2C66
triadic
#682C7B #7B682C #2C7B68
tetradic
#682C7B #7B412C #3F7B2C #2C667B
square
#682C7B #7B412C #3F7B2C #2C667B
split-complementary
#682C7B #667B2C #2C7B41
monochromatic
#1C0C21 #421C4E #682C7B #8E3CA8 #AC5DC5

Accessibility & contrast

On white

9.40
#682C7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#682C7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682C7B
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682C7B#FFFFFF#000000##FFFFFF
##682C7B1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14437D
Deuteranopia (green-blind)
#2E4879
Tritanopia (blue-blind)
#673A4F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #682c7b;
/* rgb */ color: rgb(104, 44, 123);
/* oklch */ color: oklch(41.2% 0.138 317.2);
Tailwind
colors: {
  custom: {
    50: '#9669a1',
    500: '#682c7b',
    950: '#000000',
  },
}
SCSS
$custom: #682c7b;
$custom-light: #9669a1;
$custom-dark: #000000;
JSON
{
  "hex": "#682c7b",
  "rgb": {
    "r": 104,
    "g": 44,
    "b": 123
  },
  "hsl": {
    "h": 285.57,
    "s": 47.305,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41237,
    "c": 0.13787,
    "h": 317.2
  },
  "luminance": 0.06174
}

Semantic roles & 50–950 ramp

primary
#682C7B
secondary
#6CAB58
accent
#D75171
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #682C7B

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

Preview Lab → · Contrast checker → · Palette generator →

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