#681B7C#681B7C

#681B7C is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.4% C 0.162 H 318.3°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#681B7C
RGBrgb(104, 27, 124)
HSLhsl(288, 64%, 30%)
HSVhsv(288, 78%, 49%)
CMYKcmyk(16.1%, 78.2%, 0%, 51.4%)
CIE-LABlab(27.25, 47.55, -38.27)
CIE-LCHlch(27.25, 61.04, 321.17°)
OKLaboklab(39.39% 0.1206 -0.1076)
OKLCHoklch(39.39% 0.162 318.3)
XYZxyz(9.7384, 5.1826, 19.5523)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681B7C #2F7C1B
analogous
#381B7C #681B7C #7C1B60
triadic
#681B7C #7C681B #1B7C68
tetradic
#681B7C #7C381B #2F7C1B #1B607C
square
#681B7C #7C381B #2F7C1B #1B607C
split-complementary
#681B7C #607C1B #1B7C38
monochromatic
#150519 #3E104A #681B7C #9226AE #B53DD5

Accessibility & contrast

On white

10.31
#681B7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#681B7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681B7C
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681B7C#FFFFFF#000000##FFFFFF
##681B7C1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7F
Deuteranopia (green-blind)
#20437A
Tritanopia (blue-blind)
#67304B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #681b7c;
/* rgb */ color: rgb(104, 27, 124);
/* oklch */ color: oklch(39.4% 0.162 318.3);
Tailwind
colors: {
  custom: {
    50: '#9761a2',
    500: '#681b7c',
    950: '#000000',
  },
}
SCSS
$custom: #681b7c;
$custom-light: #9761a2;
$custom-dark: #000000;
JSON
{
  "hex": "#681b7c",
  "rgb": {
    "r": 104,
    "g": 27,
    "b": 124
  },
  "hsl": {
    "h": 287.629,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39393,
    "c": 0.16163,
    "h": 318.3
  },
  "luminance": 0.05182
}

Semantic roles & 50–950 ramp

primary
#681B7C
secondary
#59B043
accent
#E74163
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #681B7C

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

Preview Lab → · Contrast checker → · Palette generator →

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