#681B72#681B72

#681B72 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.7% C 0.153 H 322.8°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#681B72
RGBrgb(104, 27, 114)
HSLhsl(293, 62%, 28%)
HSVhsv(293, 76%, 45%)
CMYKcmyk(8.8%, 76.3%, 0%, 55.3%)
CIE-LABlab(26.57, 45.56, -32.99)
CIE-LCHlch(26.57, 56.25, 324.09°)
OKLaboklab(38.69% 0.1216 -0.0921)
OKLCHoklch(38.69% 0.153 322.8)
XYZxyz(9.1378, 4.9424, 16.3890)
Luminance0.0494 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681B72 #25721B
analogous
#3C1B72 #681B72 #721B51
triadic
#681B72 #72681B #1B7268
tetradic
#681B72 #723C1B #25721B #1B5172
square
#681B72 #723C1B #25721B #1B5172
split-complementary
#681B72 #51721B #1B723C
monochromatic
#170619 #3B0F41 #681B72 #9527A3 #BE38D0

Accessibility & contrast

On white

10.56
#681B72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#681B72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681B72
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681B72#FFFFFF#000000##FFFFFF
##681B721.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003974
Deuteranopia (green-blind)
#294270
Tritanopia (blue-blind)
#6A2B45
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #681b72;
/* rgb */ color: rgb(104, 27, 114);
/* oklch */ color: oklch(38.7% 0.153 322.8);
Tailwind
colors: {
  custom: {
    50: '#96609b',
    500: '#681b72',
    950: '#000000',
  },
}
SCSS
$custom: #681b72;
$custom-light: #96609b;
$custom-dark: #000000;
JSON
{
  "hex": "#681b72",
  "rgb": {
    "r": 104,
    "g": 27,
    "b": 114
  },
  "hsl": {
    "h": 293.103,
    "s": 61.702,
    "l": 27.647
  },
  "oklch": {
    "l": 0.38694,
    "c": 0.15254,
    "h": 322.8
  },
  "luminance": 0.04942
}

Semantic roles & 50–950 ramp

primary
#681B72
secondary
#4EA742
accent
#E54356
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #681B72

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

Preview Lab → · Contrast checker → · Palette generator →

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