#681E99#681E99

#681E99 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.9% C 0.186 H 307.1°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#681E99
RGBrgb(104, 30, 153)
HSLhsl(276, 67%, 36%)
HSVhsv(276, 80%, 60%)
CMYKcmyk(32%, 80.4%, 0%, 40%)
CIE-LABlab(29.84, 52.69, -52.10)
CIE-LCHlch(29.84, 74.10, 315.32°)
OKLaboklab(41.91% 0.1122 -0.1482)
OKLCHoklch(41.91% 0.186 307.1)
XYZxyz(11.9217, 6.1717, 30.6940)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681E99 #4F991E
analogous
#2B1E99 #681E99 #991E8C
triadic
#681E99 #99681E #1E9968
tetradic
#681E99 #992B1E #4F991E #1E8C99
square
#681E99 #992B1E #4F991E #1E8C99
split-complementary
#681E99 #8C991E #1E992B
monochromatic
#220A33 #451466 #681E99 #8B28CC #A754DD

Accessibility & contrast

On white

9.40
#681E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#681E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681E99
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681E99#FFFFFF#000000##FFFFFF
##681E991.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449C
Deuteranopia (green-blind)
#004797
Tritanopia (blue-blind)
#603E5C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #681e99;
/* rgb */ color: rgb(104, 30, 153);
/* oklch */ color: oklch(41.9% 0.186 307.1);
Tailwind
colors: {
  custom: {
    50: '#9863b8',
    500: '#681e99',
    950: '#000000',
  },
}
SCSS
$custom: #681e99;
$custom-light: #9863b8;
$custom-dark: #000000;
JSON
{
  "hex": "#681e99",
  "rgb": {
    "r": 104,
    "g": 30,
    "b": 153
  },
  "hsl": {
    "h": 276.098,
    "s": 67.213,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41914,
    "c": 0.18592,
    "h": 307.1
  },
  "luminance": 0.06172
}

Semantic roles & 50–950 ramp

primary
#681E99
secondary
#7EC152
accent
#EA3E82
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #681E99

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

Preview Lab → · Contrast checker → · Palette generator →

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