#681688#681688

#681688 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.9% C 0.177 H 313.7°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#681688
RGBrgb(104, 22, 136)
HSLhsl(283, 72%, 31%)
HSVhsv(283, 84%, 53%)
CMYKcmyk(23.5%, 83.8%, 0%, 46.7%)
CIE-LABlab(27.56, 51.69, -45.31)
CIE-LCHlch(27.56, 68.74, 318.77°)
OKLaboklab(39.89% 0.1227 -0.1282)
OKLCHoklch(39.89% 0.177 313.7)
XYZxyz(10.4390, 5.2948, 23.7599)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681688 #368816
analogous
#2F1688 #681688 #88166F
triadic
#681688 #886816 #168868
tetradic
#681688 #882F16 #368816 #166F88
square
#681688 #882F16 #368816 #166F88
split-complementary
#681688 #6F8816 #16882F
monochromatic
#17051F #400D53 #681688 #901FBD #B139DF

Accessibility & contrast

On white

10.20
#681688 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#681688 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681688
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681688#FFFFFF#000000##FFFFFF
##6816881.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8B
Deuteranopia (green-blind)
#054386
Tritanopia (blue-blind)
#653350
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #681688;
/* rgb */ color: rgb(104, 22, 136);
/* oklch */ color: oklch(39.9% 0.177 313.7);
Tailwind
colors: {
  custom: {
    50: '#975fab',
    500: '#681688',
    950: '#000000',
  },
}
SCSS
$custom: #681688;
$custom-light: #975fab;
$custom-dark: #000000;
JSON
{
  "hex": "#681688",
  "rgb": {
    "r": 104,
    "g": 22,
    "b": 136
  },
  "hsl": {
    "h": 283.158,
    "s": 72.152,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39893,
    "c": 0.17747,
    "h": 313.7
  },
  "luminance": 0.05294
}

Semantic roles & 50–950 ramp

primary
#681688
secondary
#61BC3E
accent
#EF396C
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #681688

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

Preview Lab → · Contrast checker → · Palette generator →

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