#681887#681887

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

Color values

HEX#681887
RGBrgb(104, 24, 135)
HSLhsl(283, 70%, 31%)
HSVhsv(283, 82%, 53%)
CMYKcmyk(23%, 82.2%, 0%, 47.1%)
CIE-LABlab(27.70, 50.85, -44.46)
CIE-LCHlch(27.70, 67.55, 318.84°)
OKLaboklab(39.97% 0.1214 -0.1257)
OKLCHoklch(39.97% 0.175 314)
XYZxyz(10.4080, 5.3460, 23.4006)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681887 #378718
analogous
#301887 #681887 #87186E
triadic
#681887 #876818 #188768
tetradic
#681887 #873018 #378718 #186E87
square
#681887 #873018 #378718 #186E87
split-complementary
#681887 #6E8718 #188730
monochromatic
#18061F #400F53 #681887 #9021BB #B03DDC

Accessibility & contrast

On white

10.15
#681887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#681887 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681887
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681887#FFFFFF#000000##FFFFFF
##6818871.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8A
Deuteranopia (green-blind)
#0B4385
Tritanopia (blue-blind)
#653350
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #681887;
/* rgb */ color: rgb(104, 24, 135);
/* oklch */ color: oklch(40.0% 0.175 314.0);
Tailwind
colors: {
  custom: {
    50: '#9760ab',
    500: '#681887',
    950: '#000000',
  },
}
SCSS
$custom: #681887;
$custom-light: #9760ab;
$custom-dark: #000000;
JSON
{
  "hex": "#681887",
  "rgb": {
    "r": 104,
    "g": 24,
    "b": 135
  },
  "hsl": {
    "h": 283.243,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39966,
    "c": 0.17475,
    "h": 314
  },
  "luminance": 0.05346
}

Semantic roles & 50–950 ramp

primary
#681887
secondary
#62BB40
accent
#ED3B6D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #681887

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

Preview Lab → · Contrast checker → · Palette generator →

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