#681F97#681F97

#681F97 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.8% C 0.183 H 307.7°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#681F97
RGBrgb(104, 31, 151)
HSLhsl(277, 66%, 36%)
HSVhsv(277, 79%, 59%)
CMYKcmyk(31.1%, 79.5%, 0%, 40.8%)
CIE-LABlab(29.81, 51.87, -50.93)
CIE-LCHlch(29.81, 72.70, 315.52°)
OKLaboklab(41.84% 0.1119 -0.1448)
OKLCHoklch(41.84% 0.183 307.7)
XYZxyz(11.7836, 6.1576, 29.8399)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681F97 #4E971F
analogous
#2C1F97 #681F97 #971F8A
triadic
#681F97 #97681F #1F9768
tetradic
#681F97 #972C1F #4E971F #1F8A97
square
#681F97 #972C1F #4E971F #1F8A97
split-complementary
#681F97 #8A971F #1F972C
monochromatic
#220A31 #451564 #681F97 #8B29CA #A754DC

Accessibility & contrast

On white

9.41
#681F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #681F97
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681F97#FFFFFF#000000##FFFFFF
##681F971.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #681f97;
/* rgb */ color: rgb(104, 31, 151);
/* oklch */ color: oklch(41.8% 0.183 307.7);
Tailwind
colors: {
  custom: {
    50: '#9864b6',
    500: '#681f97',
    950: '#000000',
  },
}
SCSS
$custom: #681f97;
$custom-light: #9864b6;
$custom-dark: #000000;
JSON
{
  "hex": "#681f97",
  "rgb": {
    "r": 104,
    "g": 31,
    "b": 151
  },
  "hsl": {
    "h": 276.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41838,
    "c": 0.183,
    "h": 307.7
  },
  "luminance": 0.06157
}

Semantic roles & 50–950 ramp

primary
#681F97
secondary
#7DBF52
accent
#E93F81
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #681F97

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

Preview Lab → · Contrast checker → · Palette generator →

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