#681794#681794

#681794 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.9% C 0.187 H 309.4°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#681794
RGBrgb(104, 23, 148)
HSLhsl(279, 73%, 34%)
HSVhsv(279, 84%, 58%)
CMYKcmyk(29.7%, 84.5%, 0%, 42%)
CIE-LABlab(28.63, 53.93, -51.01)
CIE-LCHlch(28.63, 74.23, 316.59°)
OKLaboklab(40.94% 0.1189 -0.145)
OKLCHoklch(40.94% 0.187 309.4)
XYZxyz(11.3595, 5.6942, 28.5119)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681794 #439417
analogous
#291794 #681794 #941781
triadic
#681794 #946817 #179468
tetradic
#681794 #942917 #439417 #178194
square
#681794 #942917 #439417 #178194
split-complementary
#681794 #819417 #179429
monochromatic
#1E072A #430F5F #681794 #8D1FC9 #AA44E2

Accessibility & contrast

On white

9.82
#681794 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#681794 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681794
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681794#FFFFFF#000000##FFFFFF
##6817941.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004097
Deuteranopia (green-blind)
#004492
Tritanopia (blue-blind)
#613958
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #681794;
/* rgb */ color: rgb(104, 23, 148);
/* oklch */ color: oklch(40.9% 0.187 309.4);
Tailwind
colors: {
  custom: {
    50: '#9860b4',
    500: '#681794',
    950: '#000000',
  },
}
SCSS
$custom: #681794;
$custom-light: #9860b4;
$custom-dark: #000000;
JSON
{
  "hex": "#681794",
  "rgb": {
    "r": 104,
    "g": 23,
    "b": 148
  },
  "hsl": {
    "h": 278.88,
    "s": 73.099,
    "l": 33.529
  },
  "oklch": {
    "l": 0.40939,
    "c": 0.18749,
    "h": 309.4
  },
  "luminance": 0.05694
}

Semantic roles & 50–950 ramp

primary
#681794
secondary
#71C344
accent
#F03879
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #681794

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

Preview Lab → · Contrast checker → · Palette generator →

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