#681F7D#681F7D

#681F7D is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.8% C 0.158 H 317.5°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#681F7D
RGBrgb(104, 31, 125)
HSLhsl(287, 60%, 31%)
HSVhsv(287, 75%, 49%)
CMYKcmyk(16.8%, 75.2%, 0%, 51%)
CIE-LABlab(27.86, 46.22, -37.92)
CIE-LCHlch(27.86, 59.78, 320.63°)
OKLaboklab(39.85% 0.1165 -0.1066)
OKLCHoklch(39.85% 0.158 317.5)
XYZxyz(9.9000, 5.4041, 19.9197)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681F7D #347D1F
analogous
#391F7D #681F7D #7D1F63
triadic
#681F7D #7D681F #1F7D68
tetradic
#681F7D #7D391F #347D1F #1F637D
square
#681F7D #7D391F #347D1F #1F637D
split-complementary
#681F7D #637D1F #1F7D39
monochromatic
#16071B #3F134C #681F7D #912BAE #B245D1

Accessibility & contrast

On white

10.09
#681F7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#681F7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681F7D
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681F7D#FFFFFF#000000##FFFFFF
##681F7D1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D80
Deuteranopia (green-blind)
#22447B
Tritanopia (blue-blind)
#67324C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #681f7d;
/* rgb */ color: rgb(104, 31, 125);
/* oklch */ color: oklch(39.8% 0.158 317.5);
Tailwind
colors: {
  custom: {
    50: '#9662a3',
    500: '#681f7d',
    950: '#000000',
  },
}
SCSS
$custom: #681f7d;
$custom-light: #9662a3;
$custom-dark: #000000;
JSON
{
  "hex": "#681f7d",
  "rgb": {
    "r": 104,
    "g": 31,
    "b": 125
  },
  "hsl": {
    "h": 286.596,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39847,
    "c": 0.15792,
    "h": 317.5
  },
  "luminance": 0.05404
}

Semantic roles & 50–950 ramp

primary
#681F7D
secondary
#5FB048
accent
#E34468
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #681F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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