#681768#681768

#681768 is a dark, vivid purple. Relative luminance 0.046; OKLCH L 37.7% C 0.148 H 328.0°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#681768
RGBrgb(104, 23, 104)
HSLhsl(300, 64%, 25%)
HSVhsv(300, 78%, 41%)
CMYKcmyk(0%, 77.9%, 0%, 59.2%)
CIE-LABlab(25.43, 45.14, -28.36)
CIE-LCHlch(25.43, 53.31, 327.86°)
OKLaboklab(37.68% 0.126 -0.0786)
OKLCHoklch(37.68% 0.148 328)
XYZxyz(8.5139, 4.5559, 13.5250)
Luminance0.0456 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681768 #176817
analogous
#401768 #681768 #681740
triadic
#681768 #686817 #176868
tetradic
#681768 #684017 #176817 #174068
square
#681768 #684017 #176817 #174068
split-complementary
#681768 #406817 #176840
monochromatic
#190619 #360C36 #681768 #9A229A #CC2DCC

Accessibility & contrast

On white

10.99
#681768 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#681768 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681768
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681768#FFFFFF#000000##FFFFFF
##6817681.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06366A
Deuteranopia (green-blind)
#2D4066
Tritanopia (blue-blind)
#6B243E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #681768;
/* rgb */ color: rgb(104, 23, 104);
/* oklch */ color: oklch(37.7% 0.148 328.0);
Tailwind
colors: {
  custom: {
    50: '#965e93',
    500: '#681768',
    950: '#000000',
  },
}
SCSS
$custom: #681768;
$custom-light: #965e93;
$custom-dark: #000000;
JSON
{
  "hex": "#681768",
  "rgb": {
    "r": 104,
    "g": 23,
    "b": 104
  },
  "hsl": {
    "h": 300,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.37676,
    "c": 0.14847,
    "h": 328
  },
  "luminance": 0.04555
}

Semantic roles & 50–950 ramp

primary
#681768
secondary
#3D9E3D
accent
#E74141
background
#F9F5F9
surface
#F2EAF1
border
#CCC6CB
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #681768

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

Preview Lab → · Contrast checker → · Palette generator →

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