#681A7B#681A7B

#681A7B is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.2% C 0.162 H 318.8°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#681A7B
RGBrgb(104, 26, 123)
HSLhsl(288, 65%, 29%)
HSVhsv(288, 79%, 48%)
CMYKcmyk(15.4%, 78.9%, 0%, 51.8%)
CIE-LABlab(27.05, 47.71, -37.95)
CIE-LCHlch(27.05, 60.96, 321.50°)
OKLaboklab(39.23% 0.1217 -0.1066)
OKLCHoklch(39.23% 0.162 318.8)
XYZxyz(9.6530, 5.1124, 19.2134)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681A7B #2D7B1A
analogous
#371A7B #681A7B #7B1A5E
triadic
#681A7B #7B681A #1A7B68
tetradic
#681A7B #7B371A #2D7B1A #1A5E7B
square
#681A7B #7B371A #2D7B1A #1A5E7B
split-complementary
#681A7B #5E7B1A #1A7B37
monochromatic
#150519 #3D0F48 #681A7B #9325AE #B73AD5

Accessibility & contrast

On white

10.38
#681A7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#681A7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681A7B
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681A7B#FFFFFF#000000##FFFFFF
##681A7B1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7E
Deuteranopia (green-blind)
#204279
Tritanopia (blue-blind)
#682F4A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #681a7b;
/* rgb */ color: rgb(104, 26, 123);
/* oklch */ color: oklch(39.2% 0.162 318.8);
Tailwind
colors: {
  custom: {
    50: '#9760a2',
    500: '#681a7b',
    950: '#000000',
  },
}
SCSS
$custom: #681a7b;
$custom-light: #9760a2;
$custom-dark: #000000;
JSON
{
  "hex": "#681a7b",
  "rgb": {
    "r": 104,
    "g": 26,
    "b": 123
  },
  "hsl": {
    "h": 288.247,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39232,
    "c": 0.1618,
    "h": 318.8
  },
  "luminance": 0.05112
}

Semantic roles & 50–950 ramp

primary
#681A7B
secondary
#57AF42
accent
#E84061
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #681A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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