#681F79#681F79

#681F79 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.6% C 0.154 H 319.3°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#681F79
RGBrgb(104, 31, 121)
HSLhsl(289, 59%, 30%)
HSVhsv(289, 74%, 47%)
CMYKcmyk(14%, 74.4%, 0%, 52.5%)
CIE-LABlab(27.58, 45.39, -35.83)
CIE-LCHlch(27.58, 57.83, 321.71°)
OKLaboklab(39.57% 0.1169 -0.1005)
OKLCHoklch(39.57% 0.154 319.3)
XYZxyz(9.6496, 5.3040, 18.6009)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681F79 #30791F
analogous
#3B1F79 #681F79 #791F5D
triadic
#681F79 #79681F #1F7968
tetradic
#681F79 #793B1F #30791F #1F5D79
square
#681F79 #793B1F #30791F #1F5D79
split-complementary
#681F79 #5D791F #1F793B
monochromatic
#150618 #3E1348 #681F79 #922BAA #B543CF

Accessibility & contrast

On white

10.19
#681F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#681F79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681F79
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681F79#FFFFFF#000000##FFFFFF
##681F791.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7C
Deuteranopia (green-blind)
#264477
Tritanopia (blue-blind)
#68304A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #681f79;
/* rgb */ color: rgb(104, 31, 121);
/* oklch */ color: oklch(39.6% 0.154 319.3);
Tailwind
colors: {
  custom: {
    50: '#9662a0',
    500: '#681f79',
    950: '#000000',
  },
}
SCSS
$custom: #681f79;
$custom-light: #9662a0;
$custom-dark: #000000;
JSON
{
  "hex": "#681f79",
  "rgb": {
    "r": 104,
    "g": 31,
    "b": 121
  },
  "hsl": {
    "h": 288.667,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39565,
    "c": 0.15414,
    "h": 319.3
  },
  "luminance": 0.05304
}

Semantic roles & 50–950 ramp

primary
#681F79
secondary
#5AAC47
accent
#E24563
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050F
muted
#7E7A7E

Preview Lab

Preview with #681F79

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

Preview Lab → · Contrast checker → · Palette generator →

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