#681E7D#681E7D

#681E7D is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.7% C 0.159 H 317.6°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#681E7D
RGBrgb(104, 30, 125)
HSLhsl(287, 61%, 30%)
HSVhsv(287, 76%, 49%)
CMYKcmyk(16.8%, 76%, 0%, 51%)
CIE-LABlab(27.72, 46.61, -38.15)
CIE-LCHlch(27.72, 60.23, 320.71°)
OKLaboklab(39.75% 0.1176 -0.1072)
OKLCHoklch(39.75% 0.159 317.6)
XYZxyz(9.8743, 5.3527, 19.9111)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681E7D #337D1E
analogous
#391E7D #681E7D #7D1E62
triadic
#681E7D #7D681E #1E7D68
tetradic
#681E7D #7D391E #337D1E #1E627D
square
#681E7D #7D391E #337D1E #1E627D
split-complementary
#681E7D #627D1E #1E7D39
monochromatic
#16061A #3F124C #681E7D #912AAE #B243D2

Accessibility & contrast

On white

10.14
#681E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#681E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681E7D
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681E7D#FFFFFF#000000##FFFFFF
##681E7D1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D80
Deuteranopia (green-blind)
#21447B
Tritanopia (blue-blind)
#67324C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #681e7d;
/* rgb */ color: rgb(104, 30, 125);
/* oklch */ color: oklch(39.7% 0.159 317.6);
Tailwind
colors: {
  custom: {
    50: '#9662a3',
    500: '#681e7d',
    950: '#000000',
  },
}
SCSS
$custom: #681e7d;
$custom-light: #9662a3;
$custom-dark: #000000;
JSON
{
  "hex": "#681e7d",
  "rgb": {
    "r": 104,
    "g": 30,
    "b": 125
  },
  "hsl": {
    "h": 286.737,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39748,
    "c": 0.15912,
    "h": 317.6
  },
  "luminance": 0.05352
}

Semantic roles & 50–950 ramp

primary
#681E7D
secondary
#5EB046
accent
#E44367
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #681E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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