#681C87#681C87

#681C87 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.3% C 0.171 H 313.7°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#681C87
RGBrgb(104, 28, 135)
HSLhsl(283, 66%, 32%)
HSVhsv(283, 79%, 53%)
CMYKcmyk(23%, 79.3%, 0%, 47.1%)
CIE-LABlab(28.18, 49.47, -43.68)
CIE-LCHlch(28.18, 66.00, 318.56°)
OKLaboklab(40.3% 0.118 -0.1235)
OKLCHoklch(40.3% 0.171 313.7)
XYZxyz(10.4966, 5.5232, 23.4301)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681C87 #3B871C
analogous
#331C87 #681C87 #871C71
triadic
#681C87 #87681C #1C8768
tetradic
#681C87 #87331C #3B871C #1C7187
square
#681C87 #87331C #3B871C #1C7187
split-complementary
#681C87 #71871C #1C8733
monochromatic
#1A0722 #411154 #681C87 #8F27BA #AE45D8

Accessibility & contrast

On white

9.98
#681C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#681C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681C87
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681C87#FFFFFF#000000##FFFFFF
##681C871.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8A
Deuteranopia (green-blind)
#114485
Tritanopia (blue-blind)
#653551
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #681c87;
/* rgb */ color: rgb(104, 28, 135);
/* oklch */ color: oklch(40.3% 0.171 313.7);
Tailwind
colors: {
  custom: {
    50: '#9762ab',
    500: '#681c87',
    950: '#000000',
  },
}
SCSS
$custom: #681c87;
$custom-light: #9762ab;
$custom-dark: #000000;
JSON
{
  "hex": "#681c87",
  "rgb": {
    "r": 104,
    "g": 28,
    "b": 135
  },
  "hsl": {
    "h": 282.617,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40302,
    "c": 0.17077,
    "h": 313.7
  },
  "luminance": 0.05523
}

Semantic roles & 50–950 ramp

primary
#681C87
secondary
#67BA45
accent
#E93F70
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #681C87

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

Preview Lab → · Contrast checker → · Palette generator →

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