#681A95#681A95

#681A95 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.2% C 0.186 H 308.8°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#681A95
RGBrgb(104, 26, 149)
HSLhsl(278, 70%, 34%)
HSVhsv(278, 83%, 58%)
CMYKcmyk(30.2%, 82.6%, 0%, 41.6%)
CIE-LABlab(29.04, 53.19, -50.96)
CIE-LCHlch(29.04, 73.66, 316.23°)
OKLaboklab(41.25% 0.1165 -0.1448)
OKLCHoklch(41.25% 0.186 308.8)
XYZxyz(11.5020, 5.8520, 28.9516)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681A95 #47951A
analogous
#2B1A95 #681A95 #951A85
triadic
#681A95 #95681A #1A9568
tetradic
#681A95 #952B1A #47951A #1A8595
square
#681A95 #952B1A #47951A #1A8595
split-complementary
#681A95 #85951A #1A952B
monochromatic
#1F082D #441161 #681A95 #8C23C9 #A94ADF

Accessibility & contrast

On white

9.68
#681A95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #681A95
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681A95#FFFFFF#000000##FFFFFF
##681A951.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004298
Deuteranopia (green-blind)
#004593
Tritanopia (blue-blind)
#613B59
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #681a95;
/* rgb */ color: rgb(104, 26, 149);
/* oklch */ color: oklch(41.2% 0.186 308.8);
Tailwind
colors: {
  custom: {
    50: '#9862b5',
    500: '#681a95',
    950: '#000000',
  },
}
SCSS
$custom: #681a95;
$custom-light: #9862b5;
$custom-dark: #000000;
JSON
{
  "hex": "#681a95",
  "rgb": {
    "r": 104,
    "g": 26,
    "b": 149
  },
  "hsl": {
    "h": 278.049,
    "s": 70.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41249,
    "c": 0.18585,
    "h": 308.8
  },
  "luminance": 0.05852
}

Semantic roles & 50–950 ramp

primary
#681A95
secondary
#75C14A
accent
#ED3B7C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #681A95

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

Preview Lab → · Contrast checker → · Palette generator →

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