#681F87#681F87

#681F87 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.6% C 0.168 H 313.4°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#681F87
RGBrgb(104, 31, 135)
HSLhsl(282, 63%, 33%)
HSVhsv(282, 77%, 53%)
CMYKcmyk(23%, 77%, 0%, 47.1%)
CIE-LABlab(28.57, 48.34, -43.05)
CIE-LCHlch(28.57, 64.73, 318.32°)
OKLaboklab(40.58% 0.1152 -0.1216)
OKLCHoklch(40.58% 0.168 313.4)
XYZxyz(10.5713, 5.6726, 23.4550)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681F87 #3E871F
analogous
#341F87 #681F87 #871F72
triadic
#681F87 #87681F #1F8768
tetradic
#681F87 #87341F #3E871F #1F7287
square
#681F87 #87341F #3E871F #1F7287
split-complementary
#681F87 #72871F #1F8734
monochromatic
#1B0823 #421455 #681F87 #8E2AB9 #AC4BD6

Accessibility & contrast

On white

9.84
#681F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#681F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681F87
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681F87#FFFFFF#000000##FFFFFF
##681F871.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408A
Deuteranopia (green-blind)
#154585
Tritanopia (blue-blind)
#653752
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #681f87;
/* rgb */ color: rgb(104, 31, 135);
/* oklch */ color: oklch(40.6% 0.168 313.4);
Tailwind
colors: {
  custom: {
    50: '#9763ab',
    500: '#681f87',
    950: '#000000',
  },
}
SCSS
$custom: #681f87;
$custom-light: #9763ab;
$custom-dark: #000000;
JSON
{
  "hex": "#681f87",
  "rgb": {
    "r": 104,
    "g": 31,
    "b": 135
  },
  "hsl": {
    "h": 282.115,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.40581,
    "c": 0.1675,
    "h": 313.4
  },
  "luminance": 0.05672
}

Semantic roles & 50–950 ramp

primary
#681F87
secondary
#6BB84A
accent
#E64273
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #681F87

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

Preview Lab → · Contrast checker → · Palette generator →

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