#681C91#681C91

#681C91 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.1% C 0.180 H 310.0°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#681C91
RGBrgb(104, 28, 145)
HSLhsl(279, 68%, 34%)
HSVhsv(279, 81%, 57%)
CMYKcmyk(28.3%, 80.7%, 0%, 43.1%)
CIE-LABlab(28.95, 51.63, -48.64)
CIE-LCHlch(28.95, 70.93, 316.71°)
OKLaboklab(41.09% 0.1159 -0.138)
OKLCHoklch(41.09% 0.18 310)
XYZxyz(11.2340, 5.8181, 27.3138)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681C91 #45911C
analogous
#2D1C91 #681C91 #911C80
triadic
#681C91 #91681C #1C9168
tetradic
#681C91 #912D1C #45911C #1C8091
square
#681C91 #912D1C #45911C #1C8091
split-complementary
#681C91 #80911C #1C912D
monochromatic
#1E082A #43125E #681C91 #8D26C4 #A94BDC

Accessibility & contrast

On white

9.71
#681C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#681C91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681C91
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681C91#FFFFFF#000000##FFFFFF
##681C911.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004194
Deuteranopia (green-blind)
#00458F
Tritanopia (blue-blind)
#623A57
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #681c91;
/* rgb */ color: rgb(104, 28, 145);
/* oklch */ color: oklch(41.1% 0.180 310.0);
Tailwind
colors: {
  custom: {
    50: '#9862b2',
    500: '#681c91',
    950: '#000000',
  },
}
SCSS
$custom: #681c91;
$custom-light: #9862b2;
$custom-dark: #000000;
JSON
{
  "hex": "#681c91",
  "rgb": {
    "r": 104,
    "g": 28,
    "b": 145
  },
  "hsl": {
    "h": 278.974,
    "s": 67.63,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41088,
    "c": 0.18021,
    "h": 310
  },
  "luminance": 0.05818
}

Semantic roles & 50–950 ramp

primary
#681C91
secondary
#73BE4A
accent
#EB3D7A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #681C91

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

Preview Lab → · Contrast checker → · Palette generator →

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