#681D96#681D96

#681D96 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.6% C 0.184 H 308.2°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#681D96
RGBrgb(104, 29, 150)
HSLhsl(277, 68%, 35%)
HSVhsv(277, 81%, 59%)
CMYKcmyk(30.7%, 80.7%, 0%, 41.2%)
CIE-LABlab(29.47, 52.38, -50.86)
CIE-LCHlch(29.47, 73.01, 315.84°)
OKLaboklab(41.58% 0.1138 -0.1446)
OKLCHoklch(41.58% 0.184 308.2)
XYZxyz(11.6522, 6.0240, 29.3972)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681D96 #4B961D
analogous
#2B1D96 #681D96 #961D88
triadic
#681D96 #96681D #1D9668
tetradic
#681D96 #962B1D #4B961D #1D8896
square
#681D96 #962B1D #4B961D #1D8896
split-complementary
#681D96 #88961D #1D962B
monochromatic
#21092F #441363 #681D96 #8C27C9 #A850DD

Accessibility & contrast

On white

9.52
#681D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#681D96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681D96
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681D96#FFFFFF#000000##FFFFFF
##681D961.009.522.209.52
#FFFFFF9.521.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004399
Deuteranopia (green-blind)
#004694
Tritanopia (blue-blind)
#613C5A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #681d96;
/* rgb */ color: rgb(104, 29, 150);
/* oklch */ color: oklch(41.6% 0.184 308.2);
Tailwind
colors: {
  custom: {
    50: '#9863b6',
    500: '#681d96',
    950: '#000000',
  },
}
SCSS
$custom: #681d96;
$custom-light: #9863b6;
$custom-dark: #000000;
JSON
{
  "hex": "#681d96",
  "rgb": {
    "r": 104,
    "g": 29,
    "b": 150
  },
  "hsl": {
    "h": 277.19,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.4158,
    "c": 0.18401,
    "h": 308.2
  },
  "luminance": 0.06024
}

Semantic roles & 50–950 ramp

primary
#681D96
secondary
#7AC04F
accent
#EA3D7F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #681D96

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

Preview Lab → · Contrast checker → · Palette generator →

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