#681E9A#681E9A

#681E9A is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.0% C 0.187 H 306.8°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#681E9A
RGBrgb(104, 30, 154)
HSLhsl(276, 67%, 36%)
HSVhsv(276, 81%, 60%)
CMYKcmyk(32.5%, 80.5%, 0%, 39.6%)
CIE-LABlab(29.92, 52.92, -52.58)
CIE-LCHlch(29.92, 74.60, 315.19°)
OKLaboklab(42% 0.112 -0.1496)
OKLCHoklch(42% 0.187 306.8)
XYZxyz(12.0047, 6.2048, 31.1308)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681E9A #509A1E
analogous
#2A1E9A #681E9A #9A1E8E
triadic
#681E9A #9A681E #1E9A68
tetradic
#681E9A #9A2A1E #509A1E #1E8E9A
square
#681E9A #9A2A1E #509A1E #1E8E9A
split-complementary
#681E9A #8E9A1E #1E9A2A
monochromatic
#230A34 #451467 #681E9A #8B28CD #A655DE

Accessibility & contrast

On white

9.37
#681E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#681E9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681E9A
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681E9A#FFFFFF#000000##FFFFFF
##681E9A1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449D
Deuteranopia (green-blind)
#004798
Tritanopia (blue-blind)
#5F3E5C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #681e9a;
/* rgb */ color: rgb(104, 30, 154);
/* oklch */ color: oklch(42.0% 0.187 306.8);
Tailwind
colors: {
  custom: {
    50: '#9864b9',
    500: '#681e9a',
    950: '#000000',
  },
}
SCSS
$custom: #681e9a;
$custom-light: #9864b9;
$custom-dark: #000000;
JSON
{
  "hex": "#681e9a",
  "rgb": {
    "r": 104,
    "g": 30,
    "b": 154
  },
  "hsl": {
    "h": 275.806,
    "s": 67.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41996,
    "c": 0.18688,
    "h": 306.8
  },
  "luminance": 0.06205
}

Semantic roles & 50–950 ramp

primary
#681E9A
secondary
#7FC153
accent
#EA3E83
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #681E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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