#682A79#682A79

#682A79 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 40.8% C 0.139 H 318.4°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#682A79
RGBrgb(104, 42, 121)
HSLhsl(287, 48%, 32%)
HSVhsv(287, 65%, 47%)
CMYKcmyk(14%, 65.3%, 0%, 52.5%)
CIE-LABlab(29.36, 40.42, -32.99)
CIE-LCHlch(29.36, 52.17, 320.78°)
OKLaboklab(40.84% 0.1038 -0.0922)
OKLCHoklch(40.84% 0.139 318.4)
XYZxyz(9.9876, 5.9799, 18.7136)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682A79 #3B792A
analogous
#412A79 #682A79 #792A63
triadic
#682A79 #79682A #2A7968
tetradic
#682A79 #79412A #3B792A #2A6379
square
#682A79 #79412A #3B792A #2A6379
split-complementary
#682A79 #63792A #2A7941
monochromatic
#1A0A1E #411A4C #682A79 #8F3AA6 #AE58C5

Accessibility & contrast

On white

9.56
#682A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#682A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682A79
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682A79#FFFFFF#000000##FFFFFF
##682A791.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13417B
Deuteranopia (green-blind)
#2E4777
Tritanopia (blue-blind)
#68384D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #682a79;
/* rgb */ color: rgb(104, 42, 121);
/* oklch */ color: oklch(40.8% 0.139 318.4);
Tailwind
colors: {
  custom: {
    50: '#9668a0',
    500: '#682a79',
    950: '#000000',
  },
}
SCSS
$custom: #682a79;
$custom-light: #9668a0;
$custom-dark: #000000;
JSON
{
  "hex": "#682a79",
  "rgb": {
    "r": 104,
    "g": 42,
    "b": 121
  },
  "hsl": {
    "h": 287.089,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40843,
    "c": 0.13884,
    "h": 318.4
  },
  "luminance": 0.05979
}

Semantic roles & 50–950 ramp

primary
#682A79
secondary
#67AB54
accent
#D8506D
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060F
muted
#7E7A7E

Preview Lab

Preview with #682A79

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

Preview Lab → · Contrast checker → · Palette generator →

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