#681E9C#681E9C

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

Color values

HEX#681E9C
RGBrgb(104, 30, 156)
HSLhsl(275, 68%, 36%)
HSVhsv(275, 81%, 61%)
CMYKcmyk(33.3%, 80.8%, 0%, 38.8%)
CIE-LABlab(30.09, 53.37, -53.53)
CIE-LCHlch(30.09, 75.59, 314.92°)
OKLaboklab(42.16% 0.1115 -0.1524)
OKLCHoklch(42.16% 0.189 306.2)
XYZxyz(12.1726, 6.2720, 32.0154)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681E9C #529C1E
analogous
#291E9C #681E9C #9C1E91
triadic
#681E9C #9C681E #1E9C68
tetradic
#681E9C #9C291E #529C1E #1E919C
square
#681E9C #9C291E #529C1E #1E919C
split-complementary
#681E9C #919C1E #1E9C29
monochromatic
#240A35 #461469 #681E9C #8A28CF #A656DE

Accessibility & contrast

On white

9.32
#681E9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #681E9C
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681E9C#FFFFFF#000000##FFFFFF
##681E9C1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #681e9c;
/* rgb */ color: rgb(104, 30, 156);
/* oklch */ color: oklch(42.2% 0.189 306.2);
Tailwind
colors: {
  custom: {
    50: '#9964ba',
    500: '#681e9c',
    950: '#000000',
  },
}
SCSS
$custom: #681e9c;
$custom-light: #9964ba;
$custom-dark: #000000;
JSON
{
  "hex": "#681e9c",
  "rgb": {
    "r": 104,
    "g": 30,
    "b": 156
  },
  "hsl": {
    "h": 275.238,
    "s": 67.742,
    "l": 36.471
  },
  "oklch": {
    "l": 0.42163,
    "c": 0.18882,
    "h": 306.2
  },
  "luminance": 0.06272
}

Semantic roles & 50–950 ramp

primary
#681E9C
secondary
#81C254
accent
#EB3D85
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #681E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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