#681978#681978

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

Color values

HEX#681978
RGBrgb(104, 25, 120)
HSLhsl(290, 66%, 28%)
HSVhsv(290, 79%, 47%)
CMYKcmyk(13.3%, 79.2%, 0%, 52.9%)
CIE-LABlab(26.72, 47.46, -36.58)
CIE-LCHlch(26.72, 59.92, 322.38°)
OKLaboklab(38.93% 0.123 -0.1026)
OKLCHoklch(38.93% 0.16 320.2)
XYZxyz(9.4463, 4.9949, 18.2322)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681978 #297819
analogous
#381978 #681978 #781958
triadic
#681978 #786819 #197868
tetradic
#681978 #783819 #297819 #195878
square
#681978 #783819 #297819 #195878
split-complementary
#681978 #587819 #197838
monochromatic
#160519 #3C0E45 #681978 #9424AB #BA36D5

Accessibility & contrast

On white

10.51
#681978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #681978
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681978#FFFFFF#000000##FFFFFF
##6819781.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #681978;
/* rgb */ color: rgb(104, 25, 120);
/* oklch */ color: oklch(38.9% 0.160 320.2);
Tailwind
colors: {
  custom: {
    50: '#97609f',
    500: '#681978',
    950: '#000000',
  },
}
SCSS
$custom: #681978;
$custom-light: #97609f;
$custom-dark: #000000;
JSON
{
  "hex": "#681978",
  "rgb": {
    "r": 104,
    "g": 25,
    "b": 120
  },
  "hsl": {
    "h": 289.895,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3893,
    "c": 0.16018,
    "h": 320.2
  },
  "luminance": 0.04994
}

Semantic roles & 50–950 ramp

primary
#681978
secondary
#52AD40
accent
#E83F5C
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #681978

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

Preview Lab → · Contrast checker → · Palette generator →

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