#681778#681778

#681778 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.8% C 0.162 H 320.3°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#681778
RGBrgb(104, 23, 120)
HSLhsl(290, 68%, 28%)
HSVhsv(290, 81%, 47%)
CMYKcmyk(13.3%, 80.8%, 0%, 52.9%)
CIE-LABlab(26.48, 48.15, -36.96)
CIE-LCHlch(26.48, 60.70, 322.49°)
OKLaboklab(38.76% 0.1248 -0.1037)
OKLCHoklch(38.76% 0.162 320.3)
XYZxyz(9.4051, 4.9124, 18.2185)
Luminance0.0491 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681778 #277817
analogous
#371778 #681778 #781757
triadic
#681778 #786817 #177868
tetradic
#681778 #783717 #277817 #175778
square
#681778 #783717 #277817 #175778
split-complementary
#681778 #577817 #177837
monochromatic
#16051A #3B0D45 #681778 #9521AB #BC32D8

Accessibility & contrast

On white

10.59
#681778 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#681778 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681778
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681778#FFFFFF#000000##FFFFFF
##6817781.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397B
Deuteranopia (green-blind)
#214176
Tritanopia (blue-blind)
#682C47
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #681778;
/* rgb */ color: rgb(104, 23, 120);
/* oklch */ color: oklch(38.8% 0.162 320.3);
Tailwind
colors: {
  custom: {
    50: '#975f9f',
    500: '#681778',
    950: '#000000',
  },
}
SCSS
$custom: #681778;
$custom-light: #975f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#681778",
  "rgb": {
    "r": 104,
    "g": 23,
    "b": 120
  },
  "hsl": {
    "h": 290.103,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38762,
    "c": 0.16227,
    "h": 320.3
  },
  "luminance": 0.04912
}

Semantic roles & 50–950 ramp

primary
#681778
secondary
#50AD3E
accent
#EB3D5A
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050F
muted
#7E797E

Preview Lab

Preview with #681778

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

Preview Lab → · Contrast checker → · Palette generator →

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