#681979#681979

#681979 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 39.0% C 0.161 H 319.7°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#681979
RGBrgb(104, 25, 121)
HSLhsl(289, 66%, 29%)
HSVhsv(289, 79%, 47%)
CMYKcmyk(14%, 79.3%, 0%, 52.5%)
CIE-LABlab(26.79, 47.66, -37.10)
CIE-LCHlch(26.79, 60.40, 322.10°)
OKLaboklab(39% 0.1229 -0.1041)
OKLCHoklch(39% 0.161 319.7)
XYZxyz(9.5073, 5.0193, 18.5535)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681979 #2A7919
analogous
#381979 #681979 #79195A
triadic
#681979 #796819 #197968
tetradic
#681979 #793819 #2A7919 #195A79
square
#681979 #793819 #2A7919 #195A79
split-complementary
#681979 #5A7919 #197938
monochromatic
#160519 #3C0F46 #681979 #9423AC #B937D6

Accessibility & contrast

On white

10.48
#681979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #681979
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681979#FFFFFF#000000##FFFFFF
##6819791.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #681979;
/* rgb */ color: rgb(104, 25, 121);
/* oklch */ color: oklch(39.0% 0.161 319.7);
Tailwind
colors: {
  custom: {
    50: '#9760a0',
    500: '#681979',
    950: '#000000',
  },
}
SCSS
$custom: #681979;
$custom-light: #9760a0;
$custom-dark: #000000;
JSON
{
  "hex": "#681979",
  "rgb": {
    "r": 104,
    "g": 25,
    "b": 121
  },
  "hsl": {
    "h": 289.375,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39001,
    "c": 0.16108,
    "h": 319.7
  },
  "luminance": 0.05019
}

Semantic roles & 50–950 ramp

primary
#681979
secondary
#54AE40
accent
#E93F5D
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050F
muted
#7E797E

Preview Lab

Preview with #681979

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

Preview Lab → · Contrast checker → · Palette generator →

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