#681F7A#681F7A

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

Color values

HEX#681F7A
RGBrgb(104, 31, 122)
HSLhsl(288, 59%, 30%)
HSVhsv(288, 75%, 48%)
CMYKcmyk(14.8%, 74.6%, 0%, 52.2%)
CIE-LABlab(27.65, 45.60, -36.36)
CIE-LCHlch(27.65, 58.32, 321.43°)
OKLaboklab(39.64% 0.1168 -0.102)
OKLCHoklch(39.64% 0.155 318.9)
XYZxyz(9.7113, 5.3286, 18.9256)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681F7A #317A1F
analogous
#3B1F7A #681F7A #7A1F5E
triadic
#681F7A #7A681F #1F7A68
tetradic
#681F7A #7A3B1F #317A1F #1F5E7A
square
#681F7A #7A3B1F #317A1F #1F5E7A
split-complementary
#681F7A #5E7A1F #1F7A3B
monochromatic
#150618 #3E1349 #681F7A #922BAB #B444CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##681F7A#FFFFFF#000000##FFFFFF
##681F7A1.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)
#003D7D
Deuteranopia (green-blind)
#254478
Tritanopia (blue-blind)
#68314A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #681f7a;
/* rgb */ color: rgb(104, 31, 122);
/* oklch */ color: oklch(39.6% 0.155 318.9);
Tailwind
colors: {
  custom: {
    50: '#9662a1',
    500: '#681f7a',
    950: '#000000',
  },
}
SCSS
$custom: #681f7a;
$custom-light: #9662a1;
$custom-dark: #000000;
JSON
{
  "hex": "#681f7a",
  "rgb": {
    "r": 104,
    "g": 31,
    "b": 122
  },
  "hsl": {
    "h": 288.132,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.39635,
    "c": 0.15508,
    "h": 318.9
  },
  "luminance": 0.05328
}

Semantic roles & 50–950 ramp

primary
#681F7A
secondary
#5CAD47
accent
#E34564
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060F
muted
#7E7A7E

Preview Lab

Preview with #681F7A

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

Preview Lab → · Contrast checker → · Palette generator →

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