#681C9F#681C9F

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

Color values

HEX#681C9F
RGBrgb(104, 28, 159)
HSLhsl(275, 70%, 37%)
HSVhsv(275, 82%, 62%)
CMYKcmyk(34.6%, 82.4%, 0%, 37.6%)
CIE-LABlab(30.10, 54.75, -55.34)
CIE-LCHlch(30.10, 77.84, 314.69°)
OKLaboklab(42.25% 0.1121 -0.1577)
OKLCHoklch(42.25% 0.194 305.4)
XYZxyz(12.3808, 6.2769, 33.3535)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681C9F #539F1C
analogous
#271C9F #681C9F #9F1C95
triadic
#681C9F #9F681C #1C9F68
tetradic
#681C9F #9F271C #539F1C #1C959F
square
#681C9F #9F271C #539F1C #1C959F
split-complementary
#681C9F #959F1C #1C9F27
monochromatic
#240A37 #46136B #681C9F #8A25D3 #A654E1

Accessibility & contrast

On white

9.31
#681C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #681C9F
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681C9F#FFFFFF#000000##FFFFFF
##681C9F1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #681c9f;
/* rgb */ color: rgb(104, 28, 159);
/* oklch */ color: oklch(42.2% 0.194 305.4);
Tailwind
colors: {
  custom: {
    50: '#9963bc',
    500: '#681c9f',
    950: '#000000',
  },
}
SCSS
$custom: #681c9f;
$custom-light: #9963bc;
$custom-dark: #000000;
JSON
{
  "hex": "#681c9f",
  "rgb": {
    "r": 104,
    "g": 28,
    "b": 159
  },
  "hsl": {
    "h": 274.809,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42249,
    "c": 0.19352,
    "h": 305.4
  },
  "luminance": 0.06277
}

Semantic roles & 50–950 ramp

primary
#681C9F
secondary
#82C453
accent
#ED3B86
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #681C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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