#681B74#681B74

#681B74 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.8% C 0.154 H 321.9°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#681B74
RGBrgb(104, 27, 116)
HSLhsl(292, 62%, 28%)
HSVhsv(292, 77%, 45%)
CMYKcmyk(10.3%, 76.7%, 0%, 54.5%)
CIE-LABlab(26.70, 45.95, -34.06)
CIE-LCHlch(26.70, 57.20, 323.45°)
OKLaboklab(38.83% 0.1215 -0.0952)
OKLCHoklch(38.83% 0.154 321.9)
XYZxyz(9.2529, 4.9884, 16.9951)
Luminance0.0499 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681B74 #27741B
analogous
#3B1B74 #681B74 #741B53
triadic
#681B74 #74681B #1B7468
tetradic
#681B74 #743B1B #27741B #1B5374
square
#681B74 #743B1B #27741B #1B5374
split-complementary
#681B74 #53741B #1B743B
monochromatic
#160619 #3B0F42 #681B74 #9527A6 #BC39D1

Accessibility & contrast

On white

10.51
#681B74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#681B74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##681B74#FFFFFF#000000##FFFFFF
##681B741.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)
#003A76
Deuteranopia (green-blind)
#274272
Tritanopia (blue-blind)
#692C46
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #681b74;
/* rgb */ color: rgb(104, 27, 116);
/* oklch */ color: oklch(38.8% 0.154 321.9);
Tailwind
colors: {
  custom: {
    50: '#96609c',
    500: '#681b74',
    950: '#000000',
  },
}
SCSS
$custom: #681b74;
$custom-light: #96609c;
$custom-dark: #000000;
JSON
{
  "hex": "#681b74",
  "rgb": {
    "r": 104,
    "g": 27,
    "b": 116
  },
  "hsl": {
    "h": 291.91,
    "s": 62.238,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3883,
    "c": 0.15435,
    "h": 321.9
  },
  "luminance": 0.04988
}

Semantic roles & 50–950 ramp

primary
#681B74
secondary
#50A942
accent
#E54258
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #681B74

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

Preview Lab → · Contrast checker → · Palette generator →

#681B74 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva