#681868#681868

#681868 is a dark, vivid purple. Relative luminance 0.046; OKLCH L 37.8% C 0.147 H 328.0°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#681868
RGBrgb(104, 24, 104)
HSLhsl(300, 63%, 25%)
HSVhsv(300, 77%, 41%)
CMYKcmyk(0%, 76.9%, 0%, 59.2%)
CIE-LABlab(25.55, 44.79, -28.16)
CIE-LCHlch(25.55, 52.91, 327.84°)
OKLaboklab(37.76% 0.125 -0.078)
OKLCHoklch(37.76% 0.147 328)
XYZxyz(8.5341, 4.5964, 13.5317)
Luminance0.0460 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681868 #186818
analogous
#401868 #681868 #681840
triadic
#681868 #686818 #186868
tetradic
#681868 #684018 #186818 #184068
square
#681868 #684018 #186818 #184068
split-complementary
#681868 #406818 #186840
monochromatic
#190619 #360D36 #681868 #9A239A #CB2FCB

Accessibility & contrast

On white

10.94
#681868 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#681868 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681868
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681868#FFFFFF#000000##FFFFFF
##6818681.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08366A
Deuteranopia (green-blind)
#2E4066
Tritanopia (blue-blind)
#6B253F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #681868;
/* rgb */ color: rgb(104, 24, 104);
/* oklch */ color: oklch(37.8% 0.147 328.0);
Tailwind
colors: {
  custom: {
    50: '#965e93',
    500: '#681868',
    950: '#000000',
  },
}
SCSS
$custom: #681868;
$custom-light: #965e93;
$custom-dark: #000000;
JSON
{
  "hex": "#681868",
  "rgb": {
    "r": 104,
    "g": 24,
    "b": 104
  },
  "hsl": {
    "h": 300,
    "s": 62.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.37764,
    "c": 0.14734,
    "h": 328
  },
  "luminance": 0.04596
}

Semantic roles & 50–950 ramp

primary
#681868
secondary
#3E9E3E
accent
#E64242
background
#F9F5F9
surface
#F2EAF1
border
#CCC6CB
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #681868

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

Preview Lab → · Contrast checker → · Palette generator →

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