#681E95#681E95

#681E95 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.6% C 0.182 H 308.5°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#681E95
RGBrgb(104, 30, 149)
HSLhsl(277, 66%, 35%)
HSVhsv(277, 80%, 58%)
CMYKcmyk(30.2%, 79.9%, 0%, 41.6%)
CIE-LABlab(29.52, 51.80, -50.18)
CIE-LCHlch(29.52, 72.11, 315.91°)
OKLaboklab(41.59% 0.1132 -0.1426)
OKLCHoklch(41.59% 0.182 308.5)
XYZxyz(11.5969, 6.0417, 28.9832)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681E95 #4B951E
analogous
#2D1E95 #681E95 #951E86
triadic
#681E95 #95681E #1E9568
tetradic
#681E95 #952D1E #4B951E #1E8695
square
#681E95 #952D1E #4B951E #1E8695
split-complementary
#681E95 #86951E #1E952D
monochromatic
#21092F #441462 #681E95 #8C28C8 #A851DC

Accessibility & contrast

On white

9.51
#681E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#681E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681E95
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681E95#FFFFFF#000000##FFFFFF
##681E951.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004398
Deuteranopia (green-blind)
#004693
Tritanopia (blue-blind)
#613C59
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #681e95;
/* rgb */ color: rgb(104, 30, 149);
/* oklch */ color: oklch(41.6% 0.182 308.5);
Tailwind
colors: {
  custom: {
    50: '#9863b5',
    500: '#681e95',
    950: '#000000',
  },
}
SCSS
$custom: #681e95;
$custom-light: #9863b5;
$custom-dark: #000000;
JSON
{
  "hex": "#681e95",
  "rgb": {
    "r": 104,
    "g": 30,
    "b": 149
  },
  "hsl": {
    "h": 277.311,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41586,
    "c": 0.18206,
    "h": 308.5
  },
  "luminance": 0.06042
}

Semantic roles & 50–950 ramp

primary
#681E95
secondary
#7ABF50
accent
#E93E7F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #681E95

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

Preview Lab → · Contrast checker → · Palette generator →

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