#681D7E#681D7E

#681D7E is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.7% C 0.161 H 317.3°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#681D7E
RGBrgb(104, 29, 126)
HSLhsl(286, 63%, 30%)
HSVhsv(286, 77%, 49%)
CMYKcmyk(17.5%, 77%, 0%, 50.6%)
CIE-LABlab(27.65, 47.21, -38.88)
CIE-LCHlch(27.65, 61.16, 320.52°)
OKLaboklab(39.72% 0.1184 -0.1094)
OKLCHoklch(39.72% 0.161 317.3)
XYZxyz(9.9136, 5.3286, 20.2409)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681D7E #337E1D
analogous
#371D7E #681D7E #7E1D63
triadic
#681D7E #7E681D #1D7E68
tetradic
#681D7E #7E371D #337E1D #1D637E
square
#681D7E #7E371D #337E1D #1D637E
split-complementary
#681D7E #637E1D #1D7E37
monochromatic
#16061B #3F124C #681D7E #9128B0 #B242D3

Accessibility & contrast

On white

10.17
#681D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #681D7E
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681D7E#FFFFFF#000000##FFFFFF
##681D7E1.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D81
Deuteranopia (green-blind)
#1F437C
Tritanopia (blue-blind)
#67324C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #681d7e;
/* rgb */ color: rgb(104, 29, 126);
/* oklch */ color: oklch(39.7% 0.161 317.3);
Tailwind
colors: {
  custom: {
    50: '#9762a4',
    500: '#681d7e',
    950: '#000000',
  },
}
SCSS
$custom: #681d7e;
$custom-light: #9762a4;
$custom-dark: #000000;
JSON
{
  "hex": "#681d7e",
  "rgb": {
    "r": 104,
    "g": 29,
    "b": 126
  },
  "hsl": {
    "h": 286.392,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39723,
    "c": 0.16123,
    "h": 317.3
  },
  "luminance": 0.05328
}

Semantic roles & 50–950 ramp

primary
#681D7E
secondary
#5EB145
accent
#E64267
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #681D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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