#681E7B#681E7B

#681E7B is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.6% C 0.157 H 318.5°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#681E7B
RGBrgb(104, 30, 123)
HSLhsl(288, 61%, 30%)
HSVhsv(288, 76%, 48%)
CMYKcmyk(15.4%, 75.6%, 0%, 51.8%)
CIE-LABlab(27.58, 46.20, -37.10)
CIE-LCHlch(27.58, 59.26, 321.23°)
OKLaboklab(39.61% 0.1178 -0.1042)
OKLCHoklch(39.61% 0.157 318.5)
XYZxyz(9.7479, 5.3021, 19.2450)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681E7B #317B1E
analogous
#3A1E7B #681E7B #7B1E5F
triadic
#681E7B #7B681E #1E7B68
tetradic
#681E7B #7B3A1E #317B1E #1E5F7B
square
#681E7B #7B3A1E #317B1E #1E5F7B
split-complementary
#681E7B #5F7B1E #1E7B3A
monochromatic
#150619 #3E124A #681E7B #922AAC #B442D1

Accessibility & contrast

On white

10.19
#681E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#681E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681E7B
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681E7B#FFFFFF#000000##FFFFFF
##681E7B1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7E
Deuteranopia (green-blind)
#234379
Tritanopia (blue-blind)
#68314B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #681e7b;
/* rgb */ color: rgb(104, 30, 123);
/* oklch */ color: oklch(39.6% 0.157 318.5);
Tailwind
colors: {
  custom: {
    50: '#9662a2',
    500: '#681e7b',
    950: '#000000',
  },
}
SCSS
$custom: #681e7b;
$custom-light: #9662a2;
$custom-dark: #000000;
JSON
{
  "hex": "#681e7b",
  "rgb": {
    "r": 104,
    "g": 30,
    "b": 123
  },
  "hsl": {
    "h": 287.742,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.39605,
    "c": 0.15724,
    "h": 318.5
  },
  "luminance": 0.05302
}

Semantic roles & 50–950 ramp

primary
#681E7B
secondary
#5CAE46
accent
#E44465
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #681E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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