#681879#681879

#681879 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.9% C 0.162 H 319.8°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#681879
RGBrgb(104, 24, 121)
HSLhsl(289, 67%, 28%)
HSVhsv(289, 80%, 47%)
CMYKcmyk(14%, 80.2%, 0%, 52.5%)
CIE-LABlab(26.67, 48.01, -37.30)
CIE-LCHlch(26.67, 60.79, 322.16°)
OKLaboklab(38.92% 0.1238 -0.1047)
OKLCHoklch(38.92% 0.162 319.8)
XYZxyz(9.4863, 4.9773, 18.5465)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681879 #297918
analogous
#371879 #681879 #791859
triadic
#681879 #796818 #187968
tetradic
#681879 #793718 #297918 #185979
square
#681879 #793718 #297918 #185979
split-complementary
#681879 #597918 #187937
monochromatic
#16051A #3C0E46 #681879 #9422AC #BA35D7

Accessibility & contrast

On white

10.52
#681879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#681879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681879
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681879#FFFFFF#000000##FFFFFF
##6818791.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7C
Deuteranopia (green-blind)
#214277
Tritanopia (blue-blind)
#682D48
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #681879;
/* rgb */ color: rgb(104, 24, 121);
/* oklch */ color: oklch(38.9% 0.162 319.8);
Tailwind
colors: {
  custom: {
    50: '#975fa0',
    500: '#681879',
    950: '#000000',
  },
}
SCSS
$custom: #681879;
$custom-light: #975fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#681879",
  "rgb": {
    "r": 104,
    "g": 24,
    "b": 121
  },
  "hsl": {
    "h": 289.485,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38916,
    "c": 0.16213,
    "h": 319.8
  },
  "luminance": 0.04977
}

Semantic roles & 50–950 ramp

primary
#681879
secondary
#52AE3F
accent
#EA3E5C
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050F
muted
#7E797E

Preview Lab

Preview with #681879

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

Preview Lab → · Contrast checker → · Palette generator →

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