#681E9D#681E9D

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

Color values

HEX#681E9D
RGBrgb(104, 30, 157)
HSLhsl(275, 68%, 37%)
HSVhsv(275, 81%, 62%)
CMYKcmyk(33.8%, 80.9%, 0%, 38.4%)
CIE-LABlab(30.17, 53.60, -54.00)
CIE-LCHlch(30.17, 76.09, 314.78°)
OKLaboklab(42.25% 0.1112 -0.1538)
OKLCHoklch(42.25% 0.19 305.9)
XYZxyz(12.2576, 6.3060, 32.4632)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681E9D #539D1E
analogous
#291E9D #681E9D #9D1E93
triadic
#681E9D #9D681E #1E9D68
tetradic
#681E9D #9D291E #539D1E #1E939D
square
#681E9D #9D291E #539D1E #1E939D
split-complementary
#681E9D #939D1E #1E9D29
monochromatic
#240A36 #46146A #681E9D #8A28D0 #A657DF

Accessibility & contrast

On white

9.29
#681E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #681E9D
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681E9D#FFFFFF#000000##FFFFFF
##681E9D1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #681e9d;
/* rgb */ color: rgb(104, 30, 157);
/* oklch */ color: oklch(42.2% 0.190 305.9);
Tailwind
colors: {
  custom: {
    50: '#9964bb',
    500: '#681e9d',
    950: '#000000',
  },
}
SCSS
$custom: #681e9d;
$custom-light: #9964bb;
$custom-dark: #000000;
JSON
{
  "hex": "#681e9d",
  "rgb": {
    "r": 104,
    "g": 30,
    "b": 157
  },
  "hsl": {
    "h": 274.961,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42247,
    "c": 0.18979,
    "h": 305.9
  },
  "luminance": 0.06306
}

Semantic roles & 50–950 ramp

primary
#681E9D
secondary
#82C254
accent
#EB3D86
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #681E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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