#681F71#681F71

#681F71 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.0% C 0.147 H 323.1°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#681F71
RGBrgb(104, 31, 113)
HSLhsl(293, 57%, 28%)
HSVhsv(293, 73%, 44%)
CMYKcmyk(8%, 72.6%, 0%, 55.7%)
CIE-LABlab(27.06, 43.79, -31.57)
CIE-LCHlch(27.06, 53.98, 324.21°)
OKLaboklab(39.03% 0.1173 -0.088)
OKLCHoklch(39.03% 0.147 323.1)
XYZxyz(9.1793, 5.1158, 16.1235)
Luminance0.0512 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681F71 #28711F
analogous
#3F1F71 #681F71 #711F51
triadic
#681F71 #71681F #1F7168
tetradic
#681F71 #713F1F #28711F #1F5171
square
#681F71 #713F1F #28711F #1F5171
split-complementary
#681F71 #51711F #1F713F
monochromatic
#160718 #3C1241 #681F71 #942CA1 #BB40CB

Accessibility & contrast

On white

10.38
#681F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#681F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681F71
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681F71#FFFFFF#000000##FFFFFF
##681F711.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063A73
Deuteranopia (green-blind)
#2C436F
Tritanopia (blue-blind)
#6A2D45
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #681f71;
/* rgb */ color: rgb(104, 31, 113);
/* oklch */ color: oklch(39.0% 0.147 323.1);
Tailwind
colors: {
  custom: {
    50: '#96629a',
    500: '#681f71',
    950: '#000000',
  },
}
SCSS
$custom: #681f71;
$custom-light: #96629a;
$custom-dark: #000000;
JSON
{
  "hex": "#681f71",
  "rgb": {
    "r": 104,
    "g": 31,
    "b": 113
  },
  "hsl": {
    "h": 293.415,
    "s": 56.944,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39025,
    "c": 0.14666,
    "h": 323.1
  },
  "luminance": 0.05115
}

Semantic roles & 50–950 ramp

primary
#681F71
secondary
#51A547
accent
#E04858
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #681F71

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

Preview Lab → · Contrast checker → · Palette generator →

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