#681AB3#681AB3

#681AB3 is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.9% C 0.214 H 299.9°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#681AB3
RGBrgb(104, 26, 179)
HSLhsl(271, 75%, 40%)
HSVhsv(271, 85%, 70%)
CMYKcmyk(41.9%, 85.5%, 0%, 29.8%)
CIE-LABlab(31.66, 59.95, -64.82)
CIE-LCHlch(31.66, 88.29, 312.77°)
OKLaboklab(43.87% 0.1069 -0.1855)
OKLCHoklch(43.87% 0.214 299.9)
XYZxyz(14.2129, 6.9364, 43.2291)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681AB3 #65B31A
analogous
#1B1AB3 #681AB3 #B31AB2
triadic
#681AB3 #B3681A #1AB368
tetradic
#681AB3 #B31B1A #65B31A #1AB2B3
square
#681AB3 #B31B1A #65B31A #1AB2B3
split-complementary
#681AB3 #B2B31A #1AB31B
monochromatic
#2A0A48 #49127E #681AB3 #872AE0 #A560E8

Accessibility & contrast

On white

8.80
#681AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#681AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681AB3
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681AB3#FFFFFF#000000##FFFFFF
##681AB31.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB7
Deuteranopia (green-blind)
#0049B0
Tritanopia (blue-blind)
#56486A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #681ab3;
/* rgb */ color: rgb(104, 26, 179);
/* oklch */ color: oklch(43.9% 0.214 299.9);
Tailwind
colors: {
  custom: {
    50: '#9b63cb',
    500: '#681ab3',
    950: '#000000',
  },
}
SCSS
$custom: #681ab3;
$custom-light: #9b63cb;
$custom-dark: #000000;
JSON
{
  "hex": "#681ab3",
  "rgb": {
    "r": 104,
    "g": 26,
    "b": 179
  },
  "hsl": {
    "h": 270.588,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.43873,
    "c": 0.2141,
    "h": 299.9
  },
  "luminance": 0.06937
}

Semantic roles & 50–950 ramp

primary
#681AB3
secondary
#93CC5D
accent
#F13792
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #681AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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