#681F7C#681F7C

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

Color values

HEX#681F7C
RGBrgb(104, 31, 124)
HSLhsl(287, 60%, 30%)
HSVhsv(287, 75%, 49%)
CMYKcmyk(16.1%, 75%, 0%, 51.4%)
CIE-LABlab(27.79, 46.01, -37.40)
CIE-LCHlch(27.79, 59.29, 320.89°)
OKLaboklab(39.78% 0.1166 -0.1051)
OKLCHoklch(39.78% 0.157 318)
XYZxyz(9.8365, 5.3787, 19.5849)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681F7C #337C1F
analogous
#3A1F7C #681F7C #7C1F61
triadic
#681F7C #7C681F #1F7C68
tetradic
#681F7C #7C3A1F #337C1F #1F617C
square
#681F7C #7C3A1F #337C1F #1F617C
split-complementary
#681F7C #617C1F #1F7C3A
monochromatic
#16071A #3F134B #681F7C #912BAD #B245D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##681F7C#FFFFFF#000000##FFFFFF
##681F7C1.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)
#003D7F
Deuteranopia (green-blind)
#23447A
Tritanopia (blue-blind)
#67324C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #681f7c;
/* rgb */ color: rgb(104, 31, 124);
/* oklch */ color: oklch(39.8% 0.157 318.0);
Tailwind
colors: {
  custom: {
    50: '#9662a2',
    500: '#681f7c',
    950: '#000000',
  },
}
SCSS
$custom: #681f7c;
$custom-light: #9662a2;
$custom-dark: #000000;
JSON
{
  "hex": "#681f7c",
  "rgb": {
    "r": 104,
    "g": 31,
    "b": 124
  },
  "hsl": {
    "h": 287.097,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39776,
    "c": 0.15697,
    "h": 318
  },
  "luminance": 0.05378
}

Semantic roles & 50–950 ramp

primary
#681F7C
secondary
#5EAF48
accent
#E34567
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #681F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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