#681DB3#681DB3

#681DB3 is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 44.1% C 0.212 H 299.7°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#681DB3
RGBrgb(104, 29, 179)
HSLhsl(270, 72%, 41%)
HSVhsv(270, 84%, 70%)
CMYKcmyk(41.9%, 83.8%, 0%, 29.8%)
CIE-LABlab(31.98, 59.01, -64.30)
CIE-LCHlch(31.98, 87.27, 312.55°)
OKLaboklab(44.09% 0.105 -0.184)
OKLCHoklch(44.09% 0.212 299.7)
XYZxyz(14.2829, 7.0763, 43.2524)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681DB3 #68B31D
analogous
#1D1DB3 #681DB3 #B31DB3
triadic
#681DB3 #B3681D #1DB368
tetradic
#681DB3 #B31D1D #68B31D #1DB3B3
square
#681DB3 #B31D1D #68B31D #1DB3B3
split-complementary
#681DB3 #B3B31D #1DB31D
monochromatic
#2B0C4A #49147E #681DB3 #8730DD #A564E6

Accessibility & contrast

On white

8.69
#681DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#681DB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681DB3
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681DB3#FFFFFF#000000##FFFFFF
##681DB31.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB7
Deuteranopia (green-blind)
#004AB0
Tritanopia (blue-blind)
#56496B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #681db3;
/* rgb */ color: rgb(104, 29, 179);
/* oklch */ color: oklch(44.1% 0.212 299.7);
Tailwind
colors: {
  custom: {
    50: '#9b65cb',
    500: '#681db3',
    950: '#000000',
  },
}
SCSS
$custom: #681db3;
$custom-light: #9b65cb;
$custom-dark: #000000;
JSON
{
  "hex": "#681db3",
  "rgb": {
    "r": 104,
    "g": 29,
    "b": 179
  },
  "hsl": {
    "h": 270,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.44093,
    "c": 0.21188,
    "h": 299.7
  },
  "luminance": 0.07076
}

Semantic roles & 50–950 ramp

primary
#681DB3
secondary
#96CB61
accent
#EF3994
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #681DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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