#681686#681686

#681686 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.7% C 0.176 H 314.5°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#681686
RGBrgb(104, 22, 134)
HSLhsl(284, 72%, 31%)
HSVhsv(284, 84%, 53%)
CMYKcmyk(22.4%, 83.6%, 0%, 47.5%)
CIE-LABlab(27.40, 51.28, -44.31)
CIE-LCHlch(27.40, 67.77, 319.17°)
OKLaboklab(39.74% 0.1232 -0.1253)
OKLCHoklch(39.74% 0.176 314.5)
XYZxyz(10.2982, 5.2385, 23.0183)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681686 #348616
analogous
#301686 #681686 #86166C
triadic
#681686 #866816 #168668
tetradic
#681686 #863016 #348616 #166C86
square
#681686 #863016 #348616 #166C86
split-complementary
#681686 #6C8616 #168630
monochromatic
#16051D #3F0D51 #681686 #911FBB #B238DE

Accessibility & contrast

On white

10.26
#681686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#681686 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681686
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681686#FFFFFF#000000##FFFFFF
##6816861.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C89
Deuteranopia (green-blind)
#0B4384
Tritanopia (blue-blind)
#65324F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #681686;
/* rgb */ color: rgb(104, 22, 134);
/* oklch */ color: oklch(39.7% 0.176 314.5);
Tailwind
colors: {
  custom: {
    50: '#975faa',
    500: '#681686',
    950: '#000000',
  },
}
SCSS
$custom: #681686;
$custom-light: #975faa;
$custom-dark: #000000;
JSON
{
  "hex": "#681686",
  "rgb": {
    "r": 104,
    "g": 22,
    "b": 134
  },
  "hsl": {
    "h": 283.929,
    "s": 71.795,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39735,
    "c": 0.17568,
    "h": 314.5
  },
  "luminance": 0.05238
}

Semantic roles & 50–950 ramp

primary
#681686
secondary
#5FBA3E
accent
#EF396A
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #681686

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

Preview Lab → · Contrast checker → · Palette generator →

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