#681796#681796

#681796 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.1% C 0.189 H 308.7°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#681796
RGBrgb(104, 23, 150)
HSLhsl(278, 73%, 34%)
HSVhsv(278, 85%, 59%)
CMYKcmyk(30.7%, 84.7%, 0%, 41.2%)
CIE-LABlab(28.79, 54.36, -51.97)
CIE-LCHlch(28.79, 75.20, 316.29°)
OKLaboklab(41.11% 0.1183 -0.1478)
OKLCHoklch(41.11% 0.189 308.7)
XYZxyz(11.5192, 5.7581, 29.3528)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681796 #459617
analogous
#291796 #681796 #961785
triadic
#681796 #966817 #179668
tetradic
#681796 #962917 #459617 #178596
square
#681796 #962917 #459617 #178596
split-complementary
#681796 #859617 #179629
monochromatic
#1E072C #430F61 #681796 #8D1FCB #A945E2

Accessibility & contrast

On white

9.76
#681796 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#681796 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681796
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681796#FFFFFF#000000##FFFFFF
##6817961.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004199
Deuteranopia (green-blind)
#004594
Tritanopia (blue-blind)
#613A59
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #681796;
/* rgb */ color: rgb(104, 23, 150);
/* oklch */ color: oklch(41.1% 0.189 308.7);
Tailwind
colors: {
  custom: {
    50: '#9861b6',
    500: '#681796',
    950: '#000000',
  },
}
SCSS
$custom: #681796;
$custom-light: #9861b6;
$custom-dark: #000000;
JSON
{
  "hex": "#681796",
  "rgb": {
    "r": 104,
    "g": 23,
    "b": 150
  },
  "hsl": {
    "h": 278.268,
    "s": 73.41,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41106,
    "c": 0.18932,
    "h": 308.7
  },
  "luminance": 0.05758
}

Semantic roles & 50–950 ramp

primary
#681796
secondary
#73C345
accent
#F0387A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #681796

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

Preview Lab → · Contrast checker → · Palette generator →

#681796 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva