#682A78#682A78

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

Color values

HEX#682A78
RGBrgb(104, 42, 120)
HSLhsl(288, 48%, 32%)
HSVhsv(288, 65%, 47%)
CMYKcmyk(13.3%, 65%, 0%, 52.9%)
CIE-LABlab(29.30, 40.21, -32.45)
CIE-LCHlch(29.30, 51.67, 321.09°)
OKLaboklab(40.78% 0.1038 -0.0907)
OKLCHoklch(40.78% 0.138 318.9)
XYZxyz(9.9266, 5.9555, 18.3923)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682A78 #3A782A
analogous
#412A78 #682A78 #782A61
triadic
#682A78 #78682A #2A7868
tetradic
#682A78 #78412A #3A782A #2A6178
square
#682A78 #78412A #3A782A #2A6178
split-complementary
#682A78 #61782A #2A7841
monochromatic
#190A1D #411A4B #682A78 #8F3AA5 #AE58C5

Accessibility & contrast

On white

9.58
#682A78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#682A78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682A78
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682A78#FFFFFF#000000##FFFFFF
##682A781.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14417A
Deuteranopia (green-blind)
#2F4776
Tritanopia (blue-blind)
#68374D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #682a78;
/* rgb */ color: rgb(104, 42, 120);
/* oklch */ color: oklch(40.8% 0.138 318.9);
Tailwind
colors: {
  custom: {
    50: '#96689f',
    500: '#682a78',
    950: '#000000',
  },
}
SCSS
$custom: #682a78;
$custom-light: #96689f;
$custom-dark: #000000;
JSON
{
  "hex": "#682a78",
  "rgb": {
    "r": 104,
    "g": 42,
    "b": 120
  },
  "hsl": {
    "h": 287.692,
    "s": 48.148,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40778,
    "c": 0.1378,
    "h": 318.9
  },
  "luminance": 0.05955
}

Semantic roles & 50–950 ramp

primary
#682A78
secondary
#66AA54
accent
#D8506C
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #682A78

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

Preview Lab → · Contrast checker → · Palette generator →

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