#681A7F#681A7F

#681A7F is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.5% C 0.165 H 317.1°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#681A7F
RGBrgb(104, 26, 127)
HSLhsl(286, 66%, 30%)
HSVhsv(286, 80%, 50%)
CMYKcmyk(18.1%, 79.5%, 0%, 50.2%)
CIE-LABlab(27.34, 48.52, -40.02)
CIE-LCHlch(27.34, 62.89, 320.48°)
OKLaboklab(39.52% 0.1211 -0.1127)
OKLCHoklch(39.52% 0.165 317.1)
XYZxyz(9.9085, 5.2146, 20.5591)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681A7F #317F1A
analogous
#361A7F #681A7F #7F1A63
triadic
#681A7F #7F681A #1A7F68
tetradic
#681A7F #7F361A #317F1A #1A637F
square
#681A7F #7F361A #317F1A #1A637F
split-complementary
#681A7F #637F1A #1A7F36
monochromatic
#150519 #3E104C #681A7F #9224B2 #B43CD7

Accessibility & contrast

On white

10.28
#681A7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #681A7F
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681A7F#FFFFFF#000000##FFFFFF
##681A7F1.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C82
Deuteranopia (green-blind)
#1C437D
Tritanopia (blue-blind)
#67304C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #681a7f;
/* rgb */ color: rgb(104, 26, 127);
/* oklch */ color: oklch(39.5% 0.165 317.1);
Tailwind
colors: {
  custom: {
    50: '#9760a5',
    500: '#681a7f',
    950: '#000000',
  },
}
SCSS
$custom: #681a7f;
$custom-light: #9760a5;
$custom-dark: #000000;
JSON
{
  "hex": "#681a7f",
  "rgb": {
    "r": 104,
    "g": 26,
    "b": 127
  },
  "hsl": {
    "h": 286.337,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.39524,
    "c": 0.16546,
    "h": 317.1
  },
  "luminance": 0.05214
}

Semantic roles & 50–950 ramp

primary
#681A7F
secondary
#5CB342
accent
#E93F66
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #681A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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