#681786#681786

#681786 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.8% C 0.175 H 314.5°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#681786
RGBrgb(104, 23, 134)
HSLhsl(284, 71%, 31%)
HSVhsv(284, 83%, 53%)
CMYKcmyk(22.4%, 82.8%, 0%, 47.5%)
CIE-LABlab(27.51, 50.97, -44.13)
CIE-LCHlch(27.51, 67.42, 319.11°)
OKLaboklab(39.81% 0.1224 -0.1248)
OKLCHoklch(39.81% 0.175 314.5)
XYZxyz(10.3177, 5.2775, 23.0248)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681786 #358617
analogous
#301786 #681786 #86176C
triadic
#681786 #866817 #178668
tetradic
#681786 #863017 #358617 #176C86
square
#681786 #863017 #358617 #176C86
split-complementary
#681786 #6C8617 #178630
monochromatic
#17051E #3F0E52 #681786 #9120BA #B13ADD

Accessibility & contrast

On white

10.22
#681786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#681786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681786
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681786#FFFFFF#000000##FFFFFF
##6817861.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D89
Deuteranopia (green-blind)
#0D4384
Tritanopia (blue-blind)
#65324F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #681786;
/* rgb */ color: rgb(104, 23, 134);
/* oklch */ color: oklch(39.8% 0.175 314.5);
Tailwind
colors: {
  custom: {
    50: '#9760aa',
    500: '#681786',
    950: '#000000',
  },
}
SCSS
$custom: #681786;
$custom-light: #9760aa;
$custom-dark: #000000;
JSON
{
  "hex": "#681786",
  "rgb": {
    "r": 104,
    "g": 23,
    "b": 134
  },
  "hsl": {
    "h": 283.784,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39811,
    "c": 0.17477,
    "h": 314.5
  },
  "luminance": 0.05277
}

Semantic roles & 50–950 ramp

primary
#681786
secondary
#60BA3F
accent
#ED3A6B
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #681786

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

Preview Lab → · Contrast checker → · Palette generator →

#681786 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva