#681C7D#681C7D

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

Color values

HEX#681C7D
RGBrgb(104, 28, 125)
HSLhsl(287, 63%, 30%)
HSVhsv(287, 78%, 49%)
CMYKcmyk(16.8%, 77.6%, 0%, 51%)
CIE-LABlab(27.45, 47.38, -38.58)
CIE-LCHlch(27.45, 61.10, 320.85°)
OKLaboklab(39.56% 0.1195 -0.1085)
OKLCHoklch(39.56% 0.161 317.8)
XYZxyz(9.8253, 5.2547, 19.8948)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681C7D #317D1C
analogous
#371C7D #681C7D #7D1C62
triadic
#681C7D #7D681C #1C7D68
tetradic
#681C7D #7D371C #317D1C #1C627D
square
#681C7D #7D371C #317D1C #1C627D
split-complementary
#681C7D #627D1C #1C7D37
monochromatic
#150619 #3E114B #681C7D #9227AF #B43FD4

Accessibility & contrast

On white

10.24
#681C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#681C7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681C7D
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681C7D#FFFFFF#000000##FFFFFF
##681C7D1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C80
Deuteranopia (green-blind)
#20437B
Tritanopia (blue-blind)
#67314B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #681c7d;
/* rgb */ color: rgb(104, 28, 125);
/* oklch */ color: oklch(39.6% 0.161 317.8);
Tailwind
colors: {
  custom: {
    50: '#9761a3',
    500: '#681c7d',
    950: '#000000',
  },
}
SCSS
$custom: #681c7d;
$custom-light: #9761a3;
$custom-dark: #000000;
JSON
{
  "hex": "#681c7d",
  "rgb": {
    "r": 104,
    "g": 28,
    "b": 125
  },
  "hsl": {
    "h": 287.01,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.39557,
    "c": 0.16143,
    "h": 317.8
  },
  "luminance": 0.05254
}

Semantic roles & 50–950 ramp

primary
#681C7D
secondary
#5CB144
accent
#E64165
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #681C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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