#681C8E#681C8E

#681C8E is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.8% C 0.177 H 311.1°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#681C8E
RGBrgb(104, 28, 142)
HSLhsl(280, 67%, 33%)
HSVhsv(280, 80%, 56%)
CMYKcmyk(26.8%, 80.3%, 0%, 44.3%)
CIE-LABlab(28.71, 50.98, -47.17)
CIE-LCHlch(28.71, 69.45, 317.22°)
OKLaboklab(40.85% 0.1166 -0.1337)
OKLCHoklch(40.85% 0.177 311.1)
XYZxyz(11.0057, 5.7268, 26.1116)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681C8E #428E1C
analogous
#2F1C8E #681C8E #8E1C7B
triadic
#681C8E #8E681C #1C8E68
tetradic
#681C8E #8E2F1C #428E1C #1C7B8E
square
#681C8E #8E2F1C #428E1C #1C7B8E
split-complementary
#681C8E #7B8E1C #1C8E2F
monochromatic
#1D0828 #43125B #681C8E #8D26C1 #AB49DB

Accessibility & contrast

On white

9.79
#681C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#681C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681C8E
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681C8E#FFFFFF#000000##FFFFFF
##681C8E1.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#00458C
Tritanopia (blue-blind)
#633855
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #681c8e;
/* rgb */ color: rgb(104, 28, 142);
/* oklch */ color: oklch(40.8% 0.177 311.1);
Tailwind
colors: {
  custom: {
    50: '#9862b0',
    500: '#681c8e',
    950: '#000000',
  },
}
SCSS
$custom: #681c8e;
$custom-light: #9862b0;
$custom-dark: #000000;
JSON
{
  "hex": "#681c8e",
  "rgb": {
    "r": 104,
    "g": 28,
    "b": 142
  },
  "hsl": {
    "h": 280,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.40848,
    "c": 0.17737,
    "h": 311.1
  },
  "luminance": 0.05727
}

Semantic roles & 50–950 ramp

primary
#681C8E
secondary
#6FBD49
accent
#EA3E77
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #681C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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