#681779#681779

#681779 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.8% C 0.163 H 319.8°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#681779
RGBrgb(104, 23, 121)
HSLhsl(290, 68%, 28%)
HSVhsv(290, 81%, 47%)
CMYKcmyk(14%, 81%, 0%, 52.5%)
CIE-LABlab(26.55, 48.34, -37.48)
CIE-LCHlch(26.55, 61.17, 322.21°)
OKLaboklab(38.83% 0.1247 -0.1052)
OKLCHoklch(38.83% 0.163 319.8)
XYZxyz(9.4661, 4.9368, 18.5397)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681779 #287917
analogous
#371779 #681779 #791759
triadic
#681779 #796817 #177968
tetradic
#681779 #793717 #287917 #175979
square
#681779 #793717 #287917 #175979
split-complementary
#681779 #597917 #177937
monochromatic
#16051A #3C0D46 #681779 #9421AC #BB32D8

Accessibility & contrast

On white

10.57
#681779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#681779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681779
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681779#FFFFFF#000000##FFFFFF
##6817791.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397C
Deuteranopia (green-blind)
#204177
Tritanopia (blue-blind)
#682C48
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #681779;
/* rgb */ color: rgb(104, 23, 121);
/* oklch */ color: oklch(38.8% 0.163 319.8);
Tailwind
colors: {
  custom: {
    50: '#975fa0',
    500: '#681779',
    950: '#000000',
  },
}
SCSS
$custom: #681779;
$custom-light: #975fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#681779",
  "rgb": {
    "r": 104,
    "g": 23,
    "b": 121
  },
  "hsl": {
    "h": 289.592,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38834,
    "c": 0.16315,
    "h": 319.8
  },
  "luminance": 0.04936
}

Semantic roles & 50–950 ramp

primary
#681779
secondary
#51AE3E
accent
#EB3D5B
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050F
muted
#7E797E

Preview Lab

Preview with #681779

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

Preview Lab → · Contrast checker → · Palette generator →

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