#681E9E#681E9E

#681E9E is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.3% C 0.191 H 305.5°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#681E9E
RGBrgb(104, 30, 158)
HSLhsl(275, 68%, 37%)
HSVhsv(275, 81%, 62%)
CMYKcmyk(34.2%, 81%, 0%, 38%)
CIE-LABlab(30.26, 53.83, -54.48)
CIE-LCHlch(30.26, 76.58, 314.66°)
OKLaboklab(42.33% 0.1109 -0.1552)
OKLCHoklch(42.33% 0.191 305.5)
XYZxyz(12.3434, 6.3403, 32.9147)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681E9E #549E1E
analogous
#281E9E #681E9E #9E1E94
triadic
#681E9E #9E681E #1E9E68
tetradic
#681E9E #9E281E #549E1E #1E949E
square
#681E9E #9E281E #549E1E #1E949E
split-complementary
#681E9E #949E1E #1E9E28
monochromatic
#240A37 #46146B #681E9E #8A28D1 #A657DF

Accessibility & contrast

On white

9.26
#681E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#681E9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681E9E
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681E9E#FFFFFF#000000##FFFFFF
##681E9E1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A1
Deuteranopia (green-blind)
#00479C
Tritanopia (blue-blind)
#5E405F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #681e9e;
/* rgb */ color: rgb(104, 30, 158);
/* oklch */ color: oklch(42.3% 0.191 305.5);
Tailwind
colors: {
  custom: {
    50: '#9964bc',
    500: '#681e9e',
    950: '#000000',
  },
}
SCSS
$custom: #681e9e;
$custom-light: #9964bc;
$custom-dark: #000000;
JSON
{
  "hex": "#681e9e",
  "rgb": {
    "r": 104,
    "g": 30,
    "b": 158
  },
  "hsl": {
    "h": 274.688,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42331,
    "c": 0.19075,
    "h": 305.5
  },
  "luminance": 0.0634
}

Semantic roles & 50–950 ramp

primary
#681E9E
secondary
#83C355
accent
#EB3D86
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #681E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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