#682785#682785

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

Color values

HEX#682785
RGBrgb(104, 39, 133)
HSLhsl(281, 55%, 34%)
HSVhsv(281, 71%, 52%)
CMYKcmyk(21.8%, 70.7%, 0%, 47.8%)
CIE-LABlab(29.63, 44.49, -40.09)
CIE-LCHlch(29.63, 59.88, 317.98°)
OKLaboklab(41.29% 0.1069 -0.113)
OKLCHoklch(41.29% 0.156 313.4)
XYZxyz(10.6673, 6.0879, 22.7989)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682785 #448527
analogous
#392785 #682785 #852773
triadic
#682785 #856827 #278568
tetradic
#682785 #853927 #448527 #277385
square
#682785 #853927 #448527 #277385
split-complementary
#682785 #738527 #278539
monochromatic
#1E0B26 #431956 #682785 #8D35B4 #AA58CE

Accessibility & contrast

On white

9.47
#682785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #682785
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682785#FFFFFF#000000##FFFFFF
##6827851.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004288
Deuteranopia (green-blind)
#214783
Tritanopia (blue-blind)
#653A53
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #682785;
/* rgb */ color: rgb(104, 39, 133);
/* oklch */ color: oklch(41.3% 0.156 313.4);
Tailwind
colors: {
  custom: {
    50: '#9667a9',
    500: '#682785',
    950: '#000000',
  },
}
SCSS
$custom: #682785;
$custom-light: #9667a9;
$custom-dark: #000000;
JSON
{
  "hex": "#682785",
  "rgb": {
    "r": 104,
    "g": 39,
    "b": 133
  },
  "hsl": {
    "h": 281.489,
    "s": 54.651,
    "l": 33.725
  },
  "oklch": {
    "l": 0.41291,
    "c": 0.15557,
    "h": 313.4
  },
  "luminance": 0.06088
}

Semantic roles & 50–950 ramp

primary
#682785
secondary
#72B355
accent
#DE4A78
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #682785

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

Preview Lab → · Contrast checker → · Palette generator →

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