#681E9B#681E9B

#681E9B is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.1% C 0.188 H 306.5°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#681E9B
RGBrgb(104, 30, 155)
HSLhsl(276, 68%, 36%)
HSVhsv(276, 81%, 61%)
CMYKcmyk(32.9%, 80.6%, 0%, 39.2%)
CIE-LABlab(30.01, 53.15, -53.05)
CIE-LCHlch(30.01, 75.09, 315.05°)
OKLaboklab(42.08% 0.1117 -0.151)
OKLCHoklch(42.08% 0.188 306.5)
XYZxyz(12.0883, 6.2383, 31.5713)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681E9B #519B1E
analogous
#2A1E9B #681E9B #9B1E90
triadic
#681E9B #9B681E #1E9B68
tetradic
#681E9B #9B2A1E #519B1E #1E909B
square
#681E9B #9B2A1E #519B1E #1E909B
split-complementary
#681E9B #909B1E #1E9B2A
monochromatic
#230A34 #461468 #681E9B #8A28CE #A655DE

Accessibility & contrast

On white

9.34
#681E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #681E9B
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681E9B#FFFFFF#000000##FFFFFF
##681E9B1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449E
Deuteranopia (green-blind)
#004799
Tritanopia (blue-blind)
#5F3F5D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #681e9b;
/* rgb */ color: rgb(104, 30, 155);
/* oklch */ color: oklch(42.1% 0.188 306.5);
Tailwind
colors: {
  custom: {
    50: '#9864b9',
    500: '#681e9b',
    950: '#000000',
  },
}
SCSS
$custom: #681e9b;
$custom-light: #9864b9;
$custom-dark: #000000;
JSON
{
  "hex": "#681e9b",
  "rgb": {
    "r": 104,
    "g": 30,
    "b": 155
  },
  "hsl": {
    "h": 275.52,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4208,
    "c": 0.18785,
    "h": 306.5
  },
  "luminance": 0.06238
}

Semantic roles & 50–950 ramp

primary
#681E9B
secondary
#80C253
accent
#EA3D84
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #681E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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