#681A98#681A98

#681A98 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.5% C 0.189 H 307.8°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#681A98
RGBrgb(104, 26, 152)
HSLhsl(277, 71%, 35%)
HSVhsv(277, 83%, 60%)
CMYKcmyk(31.6%, 82.9%, 0%, 40.4%)
CIE-LABlab(29.28, 53.85, -52.40)
CIE-LCHlch(29.28, 75.14, 315.78°)
OKLaboklab(41.5% 0.1156 -0.1491)
OKLCHoklch(41.5% 0.189 307.8)
XYZxyz(11.7446, 5.9490, 30.2292)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681A98 #4A981A
analogous
#291A98 #681A98 #981A89
triadic
#681A98 #98681A #1A9868
tetradic
#681A98 #98291A #4A981A #1A8998
square
#681A98 #98291A #4A981A #1A8998
split-complementary
#681A98 #89981A #1A9829
monochromatic
#20082F #441164 #681A98 #8C23CC #A84CE0

Accessibility & contrast

On white

9.59
#681A98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#681A98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681A98
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681A98#FFFFFF#000000##FFFFFF
##681A981.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429B
Deuteranopia (green-blind)
#004696
Tritanopia (blue-blind)
#603C5A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #681a98;
/* rgb */ color: rgb(104, 26, 152);
/* oklch */ color: oklch(41.5% 0.189 307.8);
Tailwind
colors: {
  custom: {
    50: '#9862b7',
    500: '#681a98',
    950: '#000000',
  },
}
SCSS
$custom: #681a98;
$custom-light: #9862b7;
$custom-dark: #000000;
JSON
{
  "hex": "#681a98",
  "rgb": {
    "r": 104,
    "g": 26,
    "b": 152
  },
  "hsl": {
    "h": 277.143,
    "s": 70.787,
    "l": 34.902
  },
  "oklch": {
    "l": 0.41499,
    "c": 0.18865,
    "h": 307.8
  },
  "luminance": 0.05949
}

Semantic roles & 50–950 ramp

primary
#681A98
secondary
#79C24B
accent
#EE3A7F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #681A98

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

Preview Lab → · Contrast checker → · Palette generator →

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