#682B79#682B79

#682B79 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.0% C 0.137 H 318.3°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#682B79
RGBrgb(104, 43, 121)
HSLhsl(287, 48%, 32%)
HSVhsv(287, 64%, 47%)
CMYKcmyk(14%, 64.5%, 0%, 52.5%)
CIE-LABlab(29.54, 39.92, -32.70)
CIE-LCHlch(29.54, 51.61, 320.68°)
OKLaboklab(40.97% 0.1025 -0.0914)
OKLCHoklch(40.97% 0.137 318.3)
XYZxyz(10.0235, 6.0517, 18.7256)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682B79 #3C792B
analogous
#412B79 #682B79 #792B63
triadic
#682B79 #79682B #2B7968
tetradic
#682B79 #79412B #3C792B #2B6379
square
#682B79 #79412B #3C792B #2B6379
split-complementary
#682B79 #63792B #2B7941
monochromatic
#1A0B1F #411B4C #682B79 #8F3BA6 #AD5AC4

Accessibility & contrast

On white

9.50
#682B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#682B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682B79
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682B79#FFFFFF#000000##FFFFFF
##682B791.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #682b79;
/* rgb */ color: rgb(104, 43, 121);
/* oklch */ color: oklch(41.0% 0.137 318.3);
Tailwind
colors: {
  custom: {
    50: '#9669a0',
    500: '#682b79',
    950: '#000000',
  },
}
SCSS
$custom: #682b79;
$custom-light: #9669a0;
$custom-dark: #000000;
JSON
{
  "hex": "#682b79",
  "rgb": {
    "r": 104,
    "g": 43,
    "b": 121
  },
  "hsl": {
    "h": 286.923,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40974,
    "c": 0.13731,
    "h": 318.3
  },
  "luminance": 0.06051
}

Semantic roles & 50–950 ramp

primary
#682B79
secondary
#68AA56
accent
#D7516E
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060F
muted
#7E7A7E

Preview Lab

Preview with #682B79

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

Preview Lab → · Contrast checker → · Palette generator →

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