#681F7E#681F7E

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

Color values

HEX#681F7E
RGBrgb(104, 31, 126)
HSLhsl(286, 61%, 31%)
HSVhsv(286, 75%, 49%)
CMYKcmyk(17.5%, 75.4%, 0%, 50.6%)
CIE-LABlab(27.93, 46.43, -38.44)
CIE-LCHlch(27.93, 60.28, 320.37°)
OKLaboklab(39.92% 0.1164 -0.1081)
OKLCHoklch(39.92% 0.159 317.1)
XYZxyz(9.9642, 5.4298, 20.2578)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681F7E #357E1F
analogous
#381F7E #681F7E #7E1F64
triadic
#681F7E #7E681F #1F7E68
tetradic
#681F7E #7E381F #357E1F #1F647E
square
#681F7E #7E381F #357E1F #1F647E
split-complementary
#681F7E #647E1F #1F7E38
monochromatic
#17071C #3F134D #681F7E #912BAF #B146D1

Accessibility & contrast

On white

10.07
#681F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#681F7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681F7E
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681F7E#FFFFFF#000000##FFFFFF
##681F7E1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D81
Deuteranopia (green-blind)
#21447C
Tritanopia (blue-blind)
#67334D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #681f7e;
/* rgb */ color: rgb(104, 31, 126);
/* oklch */ color: oklch(39.9% 0.159 317.1);
Tailwind
colors: {
  custom: {
    50: '#9663a4',
    500: '#681f7e',
    950: '#000000',
  },
}
SCSS
$custom: #681f7e;
$custom-light: #9663a4;
$custom-dark: #000000;
JSON
{
  "hex": "#681f7e",
  "rgb": {
    "r": 104,
    "g": 31,
    "b": 126
  },
  "hsl": {
    "h": 286.105,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39918,
    "c": 0.15888,
    "h": 317.1
  },
  "luminance": 0.05429
}

Semantic roles & 50–950 ramp

primary
#681F7E
secondary
#60B148
accent
#E44469
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #681F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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