#681D9D#681D9D

#681D9D is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.2% C 0.191 H 305.9°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#681D9D
RGBrgb(104, 29, 157)
HSLhsl(275, 69%, 36%)
HSVhsv(275, 82%, 62%)
CMYKcmyk(33.8%, 81.5%, 0%, 38.4%)
CIE-LABlab(30.05, 53.95, -54.20)
CIE-LCHlch(30.05, 76.48, 314.87°)
OKLaboklab(42.16% 0.112 -0.1544)
OKLCHoklch(42.16% 0.191 305.9)
XYZxyz(12.2327, 6.2562, 32.4549)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681D9D #529D1D
analogous
#281D9D #681D9D #9D1D92
triadic
#681D9D #9D681D #1D9D68
tetradic
#681D9D #9D281D #529D1D #1D929D
square
#681D9D #9D281D #529D1D #1D929D
split-complementary
#681D9D #929D1D #1D9D28
monochromatic
#240A36 #461369 #681D9D #8A27D1 #A655E0

Accessibility & contrast

On white

9.33
#681D9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#681D9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681D9D
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681D9D#FFFFFF#000000##FFFFFF
##681D9D1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A0
Deuteranopia (green-blind)
#00479B
Tritanopia (blue-blind)
#5E3F5E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #681d9d;
/* rgb */ color: rgb(104, 29, 157);
/* oklch */ color: oklch(42.2% 0.191 305.9);
Tailwind
colors: {
  custom: {
    50: '#9963bb',
    500: '#681d9d',
    950: '#000000',
  },
}
SCSS
$custom: #681d9d;
$custom-light: #9963bb;
$custom-dark: #000000;
JSON
{
  "hex": "#681d9d",
  "rgb": {
    "r": 104,
    "g": 29,
    "b": 157
  },
  "hsl": {
    "h": 275.156,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.42162,
    "c": 0.19071,
    "h": 305.9
  },
  "luminance": 0.06256
}

Semantic roles & 50–950 ramp

primary
#681D9D
secondary
#81C353
accent
#EC3C85
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #681D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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