#681D9C#681D9C

#681D9C is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.1% C 0.190 H 306.3°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#681D9C
RGBrgb(104, 29, 156)
HSLhsl(275, 69%, 36%)
HSVhsv(275, 81%, 61%)
CMYKcmyk(33.3%, 81.4%, 0%, 38.8%)
CIE-LABlab(29.97, 53.73, -53.73)
CIE-LCHlch(29.97, 75.98, 315.00°)
OKLaboklab(42.08% 0.1122 -0.153)
OKLCHoklch(42.08% 0.19 306.3)
XYZxyz(12.1477, 6.2222, 32.0071)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681D9C #519C1D
analogous
#291D9C #681D9C #9C1D91
triadic
#681D9C #9C681D #1D9C68
tetradic
#681D9C #9C291D #519C1D #1D919C
square
#681D9C #9C291D #519C1D #1D919C
split-complementary
#681D9C #919C1D #1D9C29
monochromatic
#230A35 #461368 #681D9C #8A27D0 #A654DF

Accessibility & contrast

On white

9.36
#681D9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #681D9C
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681D9C#FFFFFF#000000##FFFFFF
##681D9C1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449F
Deuteranopia (green-blind)
#00479A
Tritanopia (blue-blind)
#5F3F5D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #681d9c;
/* rgb */ color: rgb(104, 29, 156);
/* oklch */ color: oklch(42.1% 0.190 306.3);
Tailwind
colors: {
  custom: {
    50: '#9963ba',
    500: '#681d9c',
    950: '#000000',
  },
}
SCSS
$custom: #681d9c;
$custom-light: #9963ba;
$custom-dark: #000000;
JSON
{
  "hex": "#681d9c",
  "rgb": {
    "r": 104,
    "g": 29,
    "b": 156
  },
  "hsl": {
    "h": 275.433,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42078,
    "c": 0.18975,
    "h": 306.3
  },
  "luminance": 0.06222
}

Semantic roles & 50–950 ramp

primary
#681D9C
secondary
#80C252
accent
#EB3C84
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #681D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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