#681D97#681D97

#681D97 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.7% C 0.185 H 307.9°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#681D97
RGBrgb(104, 29, 151)
HSLhsl(277, 68%, 35%)
HSVhsv(277, 81%, 59%)
CMYKcmyk(31.1%, 80.8%, 0%, 40.8%)
CIE-LABlab(29.55, 52.60, -51.34)
CIE-LCHlch(29.55, 73.51, 315.69°)
OKLaboklab(41.66% 0.1136 -0.146)
OKLCHoklch(41.66% 0.185 307.9)
XYZxyz(11.7330, 6.0563, 29.8230)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681D97 #4C971D
analogous
#2B1D97 #681D97 #971D89
triadic
#681D97 #97681D #1D9768
tetradic
#681D97 #972B1D #4C971D #1D8997
square
#681D97 #972B1D #4C971D #1D8997
split-complementary
#681D97 #89971D #1D972B
monochromatic
#210930 #451364 #681D97 #8B27CA #A751DE

Accessibility & contrast

On white

9.50
#681D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#681D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681D97
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681D97#FFFFFF#000000##FFFFFF
##681D971.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439A
Deuteranopia (green-blind)
#004695
Tritanopia (blue-blind)
#603D5A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #681d97;
/* rgb */ color: rgb(104, 29, 151);
/* oklch */ color: oklch(41.7% 0.185 307.9);
Tailwind
colors: {
  custom: {
    50: '#9863b6',
    500: '#681d97',
    950: '#000000',
  },
}
SCSS
$custom: #681d97;
$custom-light: #9863b6;
$custom-dark: #000000;
JSON
{
  "hex": "#681d97",
  "rgb": {
    "r": 104,
    "g": 29,
    "b": 151
  },
  "hsl": {
    "h": 276.885,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41662,
    "c": 0.18496,
    "h": 307.9
  },
  "luminance": 0.06056
}

Semantic roles & 50–950 ramp

primary
#681D97
secondary
#7BC04F
accent
#EB3D80
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #681D97

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

Preview Lab → · Contrast checker → · Palette generator →

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