#681E7E#681E7E

#681E7E is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.8% C 0.160 H 317.2°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#681E7E
RGBrgb(104, 30, 126)
HSLhsl(286, 62%, 31%)
HSVhsv(286, 76%, 49%)
CMYKcmyk(17.5%, 76.2%, 0%, 50.6%)
CIE-LABlab(27.79, 46.82, -38.67)
CIE-LCHlch(27.79, 60.72, 320.45°)
OKLaboklab(39.82% 0.1174 -0.1088)
OKLCHoklch(39.82% 0.16 317.2)
XYZxyz(9.9385, 5.3784, 20.2492)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681E7E #347E1E
analogous
#381E7E #681E7E #7E1E64
triadic
#681E7E #7E681E #1E7E68
tetradic
#681E7E #7E381E #347E1E #1E647E
square
#681E7E #7E381E #347E1E #1E647E
split-complementary
#681E7E #647E1E #1E7E38
monochromatic
#16061B #3F124D #681E7E #912AAF #B244D2

Accessibility & contrast

On white

10.12
#681E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#681E7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681E7E
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681E7E#FFFFFF#000000##FFFFFF
##681E7E1.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D81
Deuteranopia (green-blind)
#20447C
Tritanopia (blue-blind)
#67324C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #681e7e;
/* rgb */ color: rgb(104, 30, 126);
/* oklch */ color: oklch(39.8% 0.160 317.2);
Tailwind
colors: {
  custom: {
    50: '#9762a4',
    500: '#681e7e',
    950: '#000000',
  },
}
SCSS
$custom: #681e7e;
$custom-light: #9762a4;
$custom-dark: #000000;
JSON
{
  "hex": "#681e7e",
  "rgb": {
    "r": 104,
    "g": 30,
    "b": 126
  },
  "hsl": {
    "h": 286.25,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39819,
    "c": 0.16007,
    "h": 317.2
  },
  "luminance": 0.05378
}

Semantic roles & 50–950 ramp

primary
#681E7E
secondary
#5FB147
accent
#E54368
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #681E7E

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

Preview Lab → · Contrast checker → · Palette generator →

#681E7E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva