#681A87#681A87

#681A87 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.1% C 0.173 H 313.8°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#681A87
RGBrgb(104, 26, 135)
HSLhsl(283, 68%, 32%)
HSVhsv(283, 81%, 53%)
CMYKcmyk(23%, 80.7%, 0%, 47.1%)
CIE-LABlab(27.93, 50.18, -44.08)
CIE-LCHlch(27.93, 66.79, 318.70°)
OKLaboklab(40.13% 0.1197 -0.1246)
OKLCHoklch(40.13% 0.173 313.8)
XYZxyz(10.4507, 5.4315, 23.4148)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681A87 #39871A
analogous
#321A87 #681A87 #871A70
triadic
#681A87 #87681A #1A8768
tetradic
#681A87 #87321A #39871A #1A7087
square
#681A87 #87321A #39871A #1A7087
split-complementary
#681A87 #70871A #1A8732
monochromatic
#190620 #401054 #681A87 #9024BA #AF41DA

Accessibility & contrast

On white

10.07
#681A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#681A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681A87
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681A87#FFFFFF#000000##FFFFFF
##681A871.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8A
Deuteranopia (green-blind)
#0E4485
Tritanopia (blue-blind)
#653451
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #681a87;
/* rgb */ color: rgb(104, 26, 135);
/* oklch */ color: oklch(40.1% 0.173 313.8);
Tailwind
colors: {
  custom: {
    50: '#9761ab',
    500: '#681a87',
    950: '#000000',
  },
}
SCSS
$custom: #681a87;
$custom-light: #9761ab;
$custom-dark: #000000;
JSON
{
  "hex": "#681a87",
  "rgb": {
    "r": 104,
    "g": 26,
    "b": 135
  },
  "hsl": {
    "h": 282.936,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40129,
    "c": 0.17282,
    "h": 313.8
  },
  "luminance": 0.05431
}

Semantic roles & 50–950 ramp

primary
#681A87
secondary
#65BA42
accent
#EB3D6F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #681A87

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

Preview Lab → · Contrast checker → · Palette generator →

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