#681D9B#681D9B

#681D9B is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.0% C 0.189 H 306.6°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#681D9B
RGBrgb(104, 29, 155)
HSLhsl(276, 68%, 36%)
HSVhsv(276, 81%, 61%)
CMYKcmyk(32.9%, 81.3%, 0%, 39.2%)
CIE-LABlab(29.88, 53.50, -53.26)
CIE-LCHlch(29.88, 75.49, 315.13°)
OKLaboklab(41.99% 0.1125 -0.1516)
OKLCHoklch(41.99% 0.189 306.6)
XYZxyz(12.0634, 6.1885, 31.5630)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681D9B #509B1D
analogous
#291D9B #681D9B #9B1D8F
triadic
#681D9B #9B681D #1D9B68
tetradic
#681D9B #9B291D #509B1D #1D8F9B
square
#681D9B #9B291D #509B1D #1D8F9B
split-complementary
#681D9B #8F9B1D #1D9B29
monochromatic
#230A34 #451367 #681D9B #8B27CF #A653DF

Accessibility & contrast

On white

9.39
#681D9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#681D9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681D9B
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681D9B#FFFFFF#000000##FFFFFF
##681D9B1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449E
Deuteranopia (green-blind)
#004799
Tritanopia (blue-blind)
#5F3F5D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #681d9b;
/* rgb */ color: rgb(104, 29, 155);
/* oklch */ color: oklch(42.0% 0.189 306.6);
Tailwind
colors: {
  custom: {
    50: '#9963b9',
    500: '#681d9b',
    950: '#000000',
  },
}
SCSS
$custom: #681d9b;
$custom-light: #9963b9;
$custom-dark: #000000;
JSON
{
  "hex": "#681d9b",
  "rgb": {
    "r": 104,
    "g": 29,
    "b": 155
  },
  "hsl": {
    "h": 275.714,
    "s": 68.478,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41994,
    "c": 0.1888,
    "h": 306.6
  },
  "luminance": 0.06188
}

Semantic roles & 50–950 ramp

primary
#681D9B
secondary
#7FC252
accent
#EB3C83
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #681D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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