#682C7D#682C7D

#682C7D is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.4% C 0.140 H 316.3°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#682C7D
RGBrgb(104, 44, 125)
HSLhsl(284, 48%, 33%)
HSVhsv(284, 65%, 49%)
CMYKcmyk(16.8%, 64.8%, 0%, 51%)
CIE-LABlab(29.97, 40.30, -34.53)
CIE-LCHlch(29.97, 53.07, 319.41°)
OKLaboklab(41.37% 0.1012 -0.0967)
OKLCHoklch(41.37% 0.14 316.3)
XYZxyz(10.3107, 6.2255, 20.0566)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682C7D #417D2C
analogous
#3F2C7D #682C7D #7D2C69
triadic
#682C7D #7D682C #2C7D68
tetradic
#682C7D #7D3F2C #417D2C #2C697D
square
#682C7D #7D3F2C #417D2C #2C697D
split-complementary
#682C7D #697D2C #2C7D3F
monochromatic
#1D0C22 #421C50 #682C7D #8E3CAA #AB5DC6

Accessibility & contrast

On white

9.35
#682C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#682C7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682C7D
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682C7D#FFFFFF#000000##FFFFFF
##682C7D1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11437F
Deuteranopia (green-blind)
#2D487B
Tritanopia (blue-blind)
#673A50
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #682c7d;
/* rgb */ color: rgb(104, 44, 125);
/* oklch */ color: oklch(41.4% 0.140 316.3);
Tailwind
colors: {
  custom: {
    50: '#9669a3',
    500: '#682c7d',
    950: '#000000',
  },
}
SCSS
$custom: #682c7d;
$custom-light: #9669a3;
$custom-dark: #000000;
JSON
{
  "hex": "#682c7d",
  "rgb": {
    "r": 104,
    "g": 44,
    "b": 125
  },
  "hsl": {
    "h": 284.444,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41367,
    "c": 0.13999,
    "h": 316.3
  },
  "luminance": 0.06225
}

Semantic roles & 50–950 ramp

primary
#682C7D
secondary
#6EAC59
accent
#D85073
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #682C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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