#681C98#681C98

#681C98 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.7% C 0.187 H 307.6°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#681C98
RGBrgb(104, 28, 152)
HSLhsl(277, 69%, 35%)
HSVhsv(277, 82%, 60%)
CMYKcmyk(31.6%, 81.6%, 0%, 40.4%)
CIE-LABlab(29.51, 53.18, -52.02)
CIE-LCHlch(29.51, 74.39, 315.63°)
OKLaboklab(41.66% 0.1141 -0.148)
OKLCHoklch(41.66% 0.187 307.6)
XYZxyz(11.7905, 6.0407, 30.2445)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681C98 #4C981C
analogous
#2A1C98 #681C98 #981C8A
triadic
#681C98 #98681C #1C9868
tetradic
#681C98 #982A1C #4C981C #1C8A98
square
#681C98 #982A1C #4C981C #1C8A98
split-complementary
#681C98 #8A981C #1C982A
monochromatic
#210931 #451264 #681C98 #8B26CC #A750DF

Accessibility & contrast

On white

9.51
#681C98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #681C98
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681C98#FFFFFF#000000##FFFFFF
##681C981.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439B
Deuteranopia (green-blind)
#004696
Tritanopia (blue-blind)
#603D5B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #681c98;
/* rgb */ color: rgb(104, 28, 152);
/* oklch */ color: oklch(41.7% 0.187 307.6);
Tailwind
colors: {
  custom: {
    50: '#9863b7',
    500: '#681c98',
    950: '#000000',
  },
}
SCSS
$custom: #681c98;
$custom-light: #9863b7;
$custom-dark: #000000;
JSON
{
  "hex": "#681c98",
  "rgb": {
    "r": 104,
    "g": 28,
    "b": 152
  },
  "hsl": {
    "h": 276.774,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.4166,
    "c": 0.18685,
    "h": 307.6
  },
  "luminance": 0.06041
}

Semantic roles & 50–950 ramp

primary
#681C98
secondary
#7BC14E
accent
#EC3C80
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #681C98

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

Preview Lab → · Contrast checker → · Palette generator →

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