#681F7B#681F7B

#681F7B is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.7% C 0.156 H 318.4°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#681F7B
RGBrgb(104, 31, 123)
HSLhsl(288, 60%, 30%)
HSVhsv(288, 75%, 48%)
CMYKcmyk(15.4%, 74.8%, 0%, 51.8%)
CIE-LABlab(27.72, 45.80, -36.88)
CIE-LCHlch(27.72, 58.81, 321.16°)
OKLaboklab(39.71% 0.1167 -0.1035)
OKLCHoklch(39.71% 0.156 318.4)
XYZxyz(9.7736, 5.3535, 19.2536)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681F7B #327B1F
analogous
#3A1F7B #681F7B #7B1F60
triadic
#681F7B #7B681F #1F7B68
tetradic
#681F7B #7B3A1F #327B1F #1F607B
square
#681F7B #7B3A1F #327B1F #1F607B
split-complementary
#681F7B #607B1F #1F7B3A
monochromatic
#150619 #3F134A #681F7B #912BAC #B344D0

Accessibility & contrast

On white

10.14
#681F7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #681F7B
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681F7B#FFFFFF#000000##FFFFFF
##681F7B1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #681f7b;
/* rgb */ color: rgb(104, 31, 123);
/* oklch */ color: oklch(39.7% 0.156 318.4);
Tailwind
colors: {
  custom: {
    50: '#9662a2',
    500: '#681f7b',
    950: '#000000',
  },
}
SCSS
$custom: #681f7b;
$custom-light: #9662a2;
$custom-dark: #000000;
JSON
{
  "hex": "#681f7b",
  "rgb": {
    "r": 104,
    "g": 31,
    "b": 123
  },
  "hsl": {
    "h": 287.609,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39705,
    "c": 0.15602,
    "h": 318.4
  },
  "luminance": 0.05353
}

Semantic roles & 50–950 ramp

primary
#681F7B
secondary
#5DAE48
accent
#E34566
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #681F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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