#681FA9#681FA9

#681FA9 is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 43.4% C 0.201 H 302.2°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#681FA9
RGBrgb(104, 31, 169)
HSLhsl(272, 69%, 39%)
HSVhsv(272, 82%, 66%)
CMYKcmyk(38.5%, 81.7%, 0%, 33.7%)
CIE-LABlab(31.32, 56.00, -59.39)
CIE-LCHlch(31.32, 81.63, 313.32°)
OKLaboklab(43.36% 0.1069 -0.1696)
OKLCHoklch(43.36% 0.201 302.2)
XYZxyz(13.3586, 6.7876, 38.1348)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681FA9 #60A91F
analogous
#231FA9 #681FA9 #A91FA5
triadic
#681FA9 #A9681F #1FA968
tetradic
#681FA9 #A9231F #60A91F #1FA5A9
square
#681FA9 #A9231F #60A91F #1FA5A9
split-complementary
#681FA9 #A5A91F #1FA923
monochromatic
#280C42 #481675 #681FA9 #882DD8 #A560E2

Accessibility & contrast

On white

8.91
#681FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#681FA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681FA9
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681FA9#FFFFFF#000000##FFFFFF
##681FA91.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AD
Deuteranopia (green-blind)
#0049A6
Tritanopia (blue-blind)
#5A4665
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #681fa9;
/* rgb */ color: rgb(104, 31, 169);
/* oklch */ color: oklch(43.4% 0.201 302.2);
Tailwind
colors: {
  custom: {
    50: '#9a65c4',
    500: '#681fa9',
    950: '#000000',
  },
}
SCSS
$custom: #681fa9;
$custom-light: #9a65c4;
$custom-dark: #000000;
JSON
{
  "hex": "#681fa9",
  "rgb": {
    "r": 104,
    "g": 31,
    "b": 169
  },
  "hsl": {
    "h": 271.739,
    "s": 69,
    "l": 39.216
  },
  "oklch": {
    "l": 0.43361,
    "c": 0.20054,
    "h": 302.2
  },
  "luminance": 0.06788
}

Semantic roles & 50–950 ramp

primary
#681FA9
secondary
#8FC75D
accent
#EC3C8F
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0613
muted
#7E7A82

Preview Lab

Preview with #681FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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