#681F77#681F77

#681F77 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.4% C 0.152 H 320.2°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#681F77
RGBrgb(104, 31, 119)
HSLhsl(290, 59%, 29%)
HSVhsv(290, 74%, 47%)
CMYKcmyk(12.6%, 73.9%, 0%, 53.3%)
CIE-LABlab(27.45, 44.99, -34.77)
CIE-LCHlch(27.45, 56.86, 322.30°)
OKLaboklab(39.43% 0.117 -0.0974)
OKLCHoklch(39.43% 0.152 320.2)
XYZxyz(9.5283, 5.2554, 17.9617)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681F77 #2E771F
analogous
#3C1F77 #681F77 #771F5A
triadic
#681F77 #77681F #1F7768
tetradic
#681F77 #773C1F #2E771F #1F5A77
square
#681F77 #773C1F #2E771F #1F5A77
split-complementary
#681F77 #5A771F #1F773C
monochromatic
#150618 #3E1246 #681F77 #922CA8 #B643CE

Accessibility & contrast

On white

10.24
#681F77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#681F77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681F77
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681F77#FFFFFF#000000##FFFFFF
##681F771.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C79
Deuteranopia (green-blind)
#274375
Tritanopia (blue-blind)
#683049
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #681f77;
/* rgb */ color: rgb(104, 31, 119);
/* oklch */ color: oklch(39.4% 0.152 320.2);
Tailwind
colors: {
  custom: {
    50: '#96629f',
    500: '#681f77',
    950: '#000000',
  },
}
SCSS
$custom: #681f77;
$custom-light: #96629f;
$custom-dark: #000000;
JSON
{
  "hex": "#681f77",
  "rgb": {
    "r": 104,
    "g": 31,
    "b": 119
  },
  "hsl": {
    "h": 289.773,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39428,
    "c": 0.15225,
    "h": 320.2
  },
  "luminance": 0.05255
}

Semantic roles & 50–950 ramp

primary
#681F77
secondary
#58AB47
accent
#E24661
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #681F77

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

Preview Lab → · Contrast checker → · Palette generator →

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