#681A7E#681A7E

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

Color values

HEX#681A7E
RGBrgb(104, 26, 126)
HSLhsl(287, 66%, 30%)
HSVhsv(287, 79%, 49%)
CMYKcmyk(17.5%, 79.4%, 0%, 50.6%)
CIE-LABlab(27.27, 48.32, -39.50)
CIE-LCHlch(27.27, 62.41, 320.73°)
OKLaboklab(39.45% 0.1213 -0.1112)
OKLCHoklch(39.45% 0.165 317.5)
XYZxyz(9.8437, 5.1886, 20.2176)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681A7E #307E1A
analogous
#361A7E #681A7E #7E1A62
triadic
#681A7E #7E681A #1A7E68
tetradic
#681A7E #7E361A #307E1A #1A627E
square
#681A7E #7E361A #307E1A #1A627E
split-complementary
#681A7E #627E1A #1A7E36
monochromatic
#150519 #3E104B #681A7E #9224B1 #B53CD7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##681A7E#FFFFFF#000000##FFFFFF
##681A7E1.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)
#003C81
Deuteranopia (green-blind)
#1D437C
Tritanopia (blue-blind)
#67304B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #681a7e;
/* rgb */ color: rgb(104, 26, 126);
/* oklch */ color: oklch(39.5% 0.165 317.5);
Tailwind
colors: {
  custom: {
    50: '#9760a4',
    500: '#681a7e',
    950: '#000000',
  },
}
SCSS
$custom: #681a7e;
$custom-light: #9760a4;
$custom-dark: #000000;
JSON
{
  "hex": "#681a7e",
  "rgb": {
    "r": 104,
    "g": 26,
    "b": 126
  },
  "hsl": {
    "h": 286.8,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.3945,
    "c": 0.16454,
    "h": 317.5
  },
  "luminance": 0.05188
}

Semantic roles & 50–950 ramp

primary
#681A7E
secondary
#5AB242
accent
#E93F64
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #681A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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