#681D9E#681D9E

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

Color values

HEX#681D9E
RGBrgb(104, 29, 158)
HSLhsl(275, 69%, 37%)
HSVhsv(275, 82%, 62%)
CMYKcmyk(34.2%, 81.6%, 0%, 38%)
CIE-LABlab(30.13, 54.18, -54.67)
CIE-LCHlch(30.13, 76.97, 314.74°)
OKLaboklab(42.25% 0.1117 -0.1558)
OKLCHoklch(42.25% 0.192 305.6)
XYZxyz(12.3185, 6.2905, 32.9064)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681D9E #539E1D
analogous
#281D9E #681D9E #9E1D94
triadic
#681D9E #9E681D #1D9E68
tetradic
#681D9E #9E281D #539E1D #1D949E
square
#681D9E #9E281D #539E1D #1D949E
split-complementary
#681D9E #949E1D #1D9E28
monochromatic
#240A37 #46146A #681D9E #8A26D2 #A656E0

Accessibility & contrast

On white

9.30
#681D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#681D9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681D9E
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681D9E#FFFFFF#000000##FFFFFF
##681D9E1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A1
Deuteranopia (green-blind)
#00479C
Tritanopia (blue-blind)
#5E405E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #681d9e;
/* rgb */ color: rgb(104, 29, 158);
/* oklch */ color: oklch(42.2% 0.192 305.6);
Tailwind
colors: {
  custom: {
    50: '#9963bc',
    500: '#681d9e',
    950: '#000000',
  },
}
SCSS
$custom: #681d9e;
$custom-light: #9963bc;
$custom-dark: #000000;
JSON
{
  "hex": "#681d9e",
  "rgb": {
    "r": 104,
    "g": 29,
    "b": 158
  },
  "hsl": {
    "h": 274.884,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42246,
    "c": 0.19168,
    "h": 305.6
  },
  "luminance": 0.0629
}

Semantic roles & 50–950 ramp

primary
#681D9E
secondary
#82C354
accent
#EC3C86
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #681D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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