#681B81#681B81

#681B81 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.8% C 0.166 H 316.2°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#681B81
RGBrgb(104, 27, 129)
HSLhsl(285, 65%, 31%)
HSVhsv(285, 79%, 51%)
CMYKcmyk(19.4%, 79.1%, 0%, 49.4%)
CIE-LABlab(27.61, 48.58, -40.84)
CIE-LCHlch(27.61, 63.47, 319.94°)
OKLaboklab(39.76% 0.1199 -0.1151)
OKLCHoklch(39.76% 0.166 316.2)
XYZxyz(10.0627, 5.3123, 21.2599)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681B81 #34811B
analogous
#351B81 #681B81 #811B67
triadic
#681B81 #81681B #1B8168
tetradic
#681B81 #81351B #34811B #1B6781
square
#681B81 #81351B #34811B #1B6781
split-complementary
#681B81 #67811B #1B8135
monochromatic
#16061C #3F104E #681B81 #9126B4 #B23FD7

Accessibility & contrast

On white

10.18
#681B81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#681B81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681B81
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681B81#FFFFFF#000000##FFFFFF
##681B811.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D84
Deuteranopia (green-blind)
#1A437F
Tritanopia (blue-blind)
#66324D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #681b81;
/* rgb */ color: rgb(104, 27, 129);
/* oklch */ color: oklch(39.8% 0.166 316.2);
Tailwind
colors: {
  custom: {
    50: '#9761a6',
    500: '#681b81',
    950: '#000000',
  },
}
SCSS
$custom: #681b81;
$custom-light: #9761a6;
$custom-dark: #000000;
JSON
{
  "hex": "#681b81",
  "rgb": {
    "r": 104,
    "g": 27,
    "b": 129
  },
  "hsl": {
    "h": 285.294,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.3976,
    "c": 0.16623,
    "h": 316.2
  },
  "luminance": 0.05312
}

Semantic roles & 50–950 ramp

primary
#681B81
secondary
#5FB543
accent
#E83F69
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #681B81

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

Preview Lab → · Contrast checker → · Palette generator →

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