#681877#681877

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

Color values

HEX#681877
RGBrgb(104, 24, 119)
HSLhsl(291, 66%, 28%)
HSVhsv(291, 80%, 47%)
CMYKcmyk(12.6%, 79.8%, 0%, 53.3%)
CIE-LABlab(26.53, 47.61, -36.25)
CIE-LCHlch(26.53, 59.84, 322.72°)
OKLaboklab(38.77% 0.124 -0.1016)
OKLCHoklch(38.77% 0.16 320.7)
XYZxyz(9.3649, 4.9287, 17.9072)
Luminance0.0493 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681877 #277718
analogous
#381877 #681877 #771856
triadic
#681877 #776818 #187768
tetradic
#681877 #773818 #277718 #185677
square
#681877 #773818 #277718 #185677
split-complementary
#681877 #567718 #187738
monochromatic
#160519 #3B0E44 #681877 #9522AA #BC33D6

Accessibility & contrast

On white

10.58
#681877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#681877 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681877
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681877#FFFFFF#000000##FFFFFF
##6818771.0010.581.9910.58
#FFFFFF10.581.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397A
Deuteranopia (green-blind)
#234175
Tritanopia (blue-blind)
#692C47
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #681877;
/* rgb */ color: rgb(104, 24, 119);
/* oklch */ color: oklch(38.8% 0.160 320.7);
Tailwind
colors: {
  custom: {
    50: '#975f9f',
    500: '#681877',
    950: '#000000',
  },
}
SCSS
$custom: #681877;
$custom-light: #975f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#681877",
  "rgb": {
    "r": 104,
    "g": 24,
    "b": 119
  },
  "hsl": {
    "h": 290.526,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38774,
    "c": 0.16035,
    "h": 320.7
  },
  "luminance": 0.04928
}

Semantic roles & 50–950 ramp

primary
#681877
secondary
#50AC3F
accent
#E93E59
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #681877

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

Preview Lab → · Contrast checker → · Palette generator →

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