#681886#681886

#681886 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.9% C 0.174 H 314.4°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#681886
RGBrgb(104, 24, 134)
HSLhsl(284, 70%, 31%)
HSVhsv(284, 82%, 53%)
CMYKcmyk(22.4%, 82.1%, 0%, 47.5%)
CIE-LABlab(27.62, 50.65, -43.96)
CIE-LCHlch(27.62, 67.06, 319.05°)
OKLaboklab(39.89% 0.1216 -0.1242)
OKLCHoklch(39.89% 0.174 314.4)
XYZxyz(10.3379, 5.3179, 23.0315)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681886 #368618
analogous
#311886 #681886 #86186D
triadic
#681886 #866818 #188668
tetradic
#681886 #863118 #368618 #186D86
square
#681886 #863118 #368618 #186D86
split-complementary
#681886 #6D8618 #188631
monochromatic
#17051E #400F52 #681886 #9021BA #B13CDC

Accessibility & contrast

On white

10.18
#681886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #681886
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681886#FFFFFF#000000##FFFFFF
##6818861.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #681886;
/* rgb */ color: rgb(104, 24, 134);
/* oklch */ color: oklch(39.9% 0.174 314.4);
Tailwind
colors: {
  custom: {
    50: '#9760aa',
    500: '#681886',
    950: '#000000',
  },
}
SCSS
$custom: #681886;
$custom-light: #9760aa;
$custom-dark: #000000;
JSON
{
  "hex": "#681886",
  "rgb": {
    "r": 104,
    "g": 24,
    "b": 134
  },
  "hsl": {
    "h": 283.636,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39888,
    "c": 0.17384,
    "h": 314.4
  },
  "luminance": 0.05318
}

Semantic roles & 50–950 ramp

primary
#681886
secondary
#61BA40
accent
#EC3B6C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #681886

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

Preview Lab → · Contrast checker → · Palette generator →

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