#682C79#682C79

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

Color values

HEX#682C79
RGBrgb(104, 44, 121)
HSLhsl(287, 47%, 32%)
HSVhsv(287, 64%, 47%)
CMYKcmyk(14%, 63.6%, 0%, 52.5%)
CIE-LABlab(29.73, 39.42, -32.41)
CIE-LCHlch(29.73, 51.03, 320.58°)
OKLaboklab(41.11% 0.1011 -0.0905)
OKLCHoklch(41.11% 0.136 318.2)
XYZxyz(10.0603, 6.1253, 18.7378)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682C79 #3D792C
analogous
#412C79 #682C79 #792C64
triadic
#682C79 #79682C #2C7968
tetradic
#682C79 #79412C #3D792C #2C6479
square
#682C79 #79412C #3D792C #2C6479
split-complementary
#682C79 #64792C #2C7941
monochromatic
#1B0B1F #411C4C #682C79 #8F3CA6 #AD5CC4

Accessibility & contrast

On white

9.44
#682C79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #682C79
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682C79#FFFFFF#000000##FFFFFF
##682C791.009.442.239.44
#FFFFFF9.441.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17427B
Deuteranopia (green-blind)
#2F4877
Tritanopia (blue-blind)
#68394E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #682c79;
/* rgb */ color: rgb(104, 44, 121);
/* oklch */ color: oklch(41.1% 0.136 318.2);
Tailwind
colors: {
  custom: {
    50: '#9669a0',
    500: '#682c79',
    950: '#000000',
  },
}
SCSS
$custom: #682c79;
$custom-light: #9669a0;
$custom-dark: #000000;
JSON
{
  "hex": "#682c79",
  "rgb": {
    "r": 104,
    "g": 44,
    "b": 121
  },
  "hsl": {
    "h": 286.753,
    "s": 46.667,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41108,
    "c": 0.13575,
    "h": 318.2
  },
  "luminance": 0.06125
}

Semantic roles & 50–950 ramp

primary
#682C79
secondary
#69AA57
accent
#D6516F
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060F
muted
#7E7A7E

Preview Lab

Preview with #682C79

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

Preview Lab → · Contrast checker → · Palette generator →

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