#681C8F#681C8F

#681C8F is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.9% C 0.178 H 310.7°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#681C8F
RGBrgb(104, 28, 143)
HSLhsl(280, 67%, 34%)
HSVhsv(280, 80%, 56%)
CMYKcmyk(27.3%, 80.4%, 0%, 43.9%)
CIE-LABlab(28.79, 51.20, -47.66)
CIE-LCHlch(28.79, 69.94, 317.05°)
OKLaboklab(40.93% 0.1163 -0.1351)
OKLCHoklch(40.93% 0.178 310.7)
XYZxyz(11.0811, 5.7570, 26.5087)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681C8F #438F1C
analogous
#2E1C8F #681C8F #8F1C7C
triadic
#681C8F #8F681C #1C8F68
tetradic
#681C8F #8F2E1C #438F1C #1C7C8F
square
#681C8F #8F2E1C #438F1C #1C7C8F
split-complementary
#681C8F #7C8F1C #1C8F2E
monochromatic
#1E0829 #43125C #681C8F #8D26C2 #AA4ADC

Accessibility & contrast

On white

9.76
#681C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #681C8F
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681C8F#FFFFFF#000000##FFFFFF
##681C8F1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#00458D
Tritanopia (blue-blind)
#633956
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #681c8f;
/* rgb */ color: rgb(104, 28, 143);
/* oklch */ color: oklch(40.9% 0.178 310.7);
Tailwind
colors: {
  custom: {
    50: '#9862b1',
    500: '#681c8f',
    950: '#000000',
  },
}
SCSS
$custom: #681c8f;
$custom-light: #9862b1;
$custom-dark: #000000;
JSON
{
  "hex": "#681c8f",
  "rgb": {
    "r": 104,
    "g": 28,
    "b": 143
  },
  "hsl": {
    "h": 279.652,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.40927,
    "c": 0.17831,
    "h": 310.7
  },
  "luminance": 0.05757
}

Semantic roles & 50–950 ramp

primary
#681C8F
secondary
#71BE49
accent
#EA3E78
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #681C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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