#682687#682687

#682687 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.3% C 0.159 H 312.7°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#682687
RGBrgb(104, 38, 135)
HSLhsl(281, 56%, 34%)
HSVhsv(281, 72%, 53%)
CMYKcmyk(23%, 71.9%, 0%, 47.1%)
CIE-LABlab(29.61, 45.39, -41.37)
CIE-LCHlch(29.61, 61.41, 317.65°)
OKLaboklab(41.32% 0.1079 -0.1167)
OKLCHoklch(41.32% 0.159 312.7)
XYZxyz(10.7744, 6.0789, 23.5227)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682687 #458726
analogous
#382687 #682687 #872676
triadic
#682687 #876826 #268768
tetradic
#682687 #873826 #458726 #267687
square
#682687 #873826 #458726 #267687
split-complementary
#682687 #768726 #268738
monochromatic
#1E0B27 #431957 #682687 #8D33B7 #A958D0

Accessibility & contrast

On white

9.48
#682687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#682687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682687
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682687#FFFFFF#000000##FFFFFF
##6826871.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428A
Deuteranopia (green-blind)
#1D4785
Tritanopia (blue-blind)
#653A54
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #682687;
/* rgb */ color: rgb(104, 38, 135);
/* oklch */ color: oklch(41.3% 0.159 312.7);
Tailwind
colors: {
  custom: {
    50: '#9766ab',
    500: '#682687',
    950: '#000000',
  },
}
SCSS
$custom: #682687;
$custom-light: #9766ab;
$custom-dark: #000000;
JSON
{
  "hex": "#682687",
  "rgb": {
    "r": 104,
    "g": 38,
    "b": 135
  },
  "hsl": {
    "h": 280.825,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41319,
    "c": 0.15895,
    "h": 312.7
  },
  "luminance": 0.06079
}

Semantic roles & 50–950 ramp

primary
#682687
secondary
#73B554
accent
#DF4879
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #682687

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

Preview Lab → · Contrast checker → · Palette generator →

#682687 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva