#681E8E#681E8E

#681E8E is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.0% C 0.175 H 310.9°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#681E8E
RGBrgb(104, 30, 142)
HSLhsl(280, 65%, 34%)
HSVhsv(280, 79%, 56%)
CMYKcmyk(26.8%, 78.9%, 0%, 44.3%)
CIE-LABlab(28.97, 50.24, -46.75)
CIE-LCHlch(28.97, 68.63, 317.06°)
OKLaboklab(41.03% 0.1148 -0.1325)
OKLCHoklch(41.03% 0.175 310.9)
XYZxyz(11.0547, 5.8249, 26.1279)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681E8E #448E1E
analogous
#301E8E #681E8E #8E1E7C
triadic
#681E8E #8E681E #1E8E68
tetradic
#681E8E #8E301E #448E1E #1E7C8E
square
#681E8E #8E301E #448E1E #1E7C8E
split-complementary
#681E8E #7C8E1E #1E8E30
monochromatic
#1E0929 #43135B #681E8E #8D29C1 #AA4DD9

Accessibility & contrast

On white

9.70
#681E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#681E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681E8E
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681E8E#FFFFFF#000000##FFFFFF
##681E8E1.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004191
Deuteranopia (green-blind)
#01458C
Tritanopia (blue-blind)
#633955
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #681e8e;
/* rgb */ color: rgb(104, 30, 142);
/* oklch */ color: oklch(41.0% 0.175 310.9);
Tailwind
colors: {
  custom: {
    50: '#9763b0',
    500: '#681e8e',
    950: '#000000',
  },
}
SCSS
$custom: #681e8e;
$custom-light: #9763b0;
$custom-dark: #000000;
JSON
{
  "hex": "#681e8e",
  "rgb": {
    "r": 104,
    "g": 30,
    "b": 142
  },
  "hsl": {
    "h": 279.643,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.41026,
    "c": 0.17532,
    "h": 310.9
  },
  "luminance": 0.05825
}

Semantic roles & 50–950 ramp

primary
#681E8E
secondary
#72BC4C
accent
#E84079
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #681E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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