#682E78#682E78

#682E78 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.3% C 0.132 H 318.4°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#682E78
RGBrgb(104, 46, 120)
HSLhsl(287, 45%, 33%)
HSVhsv(287, 62%, 47%)
CMYKcmyk(13.3%, 61.7%, 0%, 52.9%)
CIE-LABlab(30.04, 38.17, -31.27)
CIE-LCHlch(30.04, 49.35, 320.68°)
OKLaboklab(41.32% 0.0984 -0.0872)
OKLCHoklch(41.32% 0.132 318.4)
XYZxyz(10.0756, 6.2535, 18.4420)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682E78 #3E782E
analogous
#432E78 #682E78 #782E63
triadic
#682E78 #78682E #2E7868
tetradic
#682E78 #78432E #3E782E #2E6378
square
#682E78 #78432E #3E782E #2E6378
split-complementary
#682E78 #63782E #2E7843
monochromatic
#1B0C20 #421D4C #682E78 #8E3FA4 #AC5FC2

Accessibility & contrast

On white

9.33
#682E78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #682E78
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682E78#FFFFFF#000000##FFFFFF
##682E781.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C437A
Deuteranopia (green-blind)
#324976
Tritanopia (blue-blind)
#683A4E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #682e78;
/* rgb */ color: rgb(104, 46, 120);
/* oklch */ color: oklch(41.3% 0.132 318.4);
Tailwind
colors: {
  custom: {
    50: '#956a9f',
    500: '#682e78',
    950: '#000000',
  },
}
SCSS
$custom: #682e78;
$custom-light: #956a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#682e78",
  "rgb": {
    "r": 104,
    "g": 46,
    "b": 120
  },
  "hsl": {
    "h": 287.027,
    "s": 44.578,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41319,
    "c": 0.1315,
    "h": 318.4
  },
  "luminance": 0.06253
}

Semantic roles & 50–950 ramp

primary
#682E78
secondary
#6BA85A
accent
#D4546F
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D070E
muted
#7E7A7E

Preview Lab

Preview with #682E78

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

Preview Lab → · Contrast checker → · Palette generator →

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