#681E98#681E98

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

Color values

HEX#681E98
RGBrgb(104, 30, 152)
HSLhsl(276, 67%, 36%)
HSVhsv(276, 80%, 60%)
CMYKcmyk(31.6%, 80.3%, 0%, 40.4%)
CIE-LABlab(29.76, 52.47, -51.62)
CIE-LCHlch(29.76, 73.61, 315.47°)
OKLaboklab(41.83% 0.1125 -0.1468)
OKLCHoklch(41.83% 0.185 307.5)
XYZxyz(11.8395, 6.1388, 30.2609)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681E98 #4E981E
analogous
#2B1E98 #681E98 #981E8B
triadic
#681E98 #98681E #1E9868
tetradic
#681E98 #982B1E #4E981E #1E8B98
square
#681E98 #982B1E #4E981E #1E8B98
split-complementary
#681E98 #8B981E #1E982B
monochromatic
#220A32 #451465 #681E98 #8B28CB #A753DD

Accessibility & contrast

On white

9.43
#681E98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #681E98
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681E98#FFFFFF#000000##FFFFFF
##681E981.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449B
Deuteranopia (green-blind)
#004796
Tritanopia (blue-blind)
#603E5B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #681e98;
/* rgb */ color: rgb(104, 30, 152);
/* oklch */ color: oklch(41.8% 0.185 307.5);
Tailwind
colors: {
  custom: {
    50: '#9863b7',
    500: '#681e98',
    950: '#000000',
  },
}
SCSS
$custom: #681e98;
$custom-light: #9863b7;
$custom-dark: #000000;
JSON
{
  "hex": "#681e98",
  "rgb": {
    "r": 104,
    "g": 30,
    "b": 152
  },
  "hsl": {
    "h": 276.393,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41831,
    "c": 0.18495,
    "h": 307.5
  },
  "luminance": 0.06139
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #681E98

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

Preview Lab → · Contrast checker → · Palette generator →

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