#681C90#681C90

#681C90 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.0% C 0.179 H 310.4°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#681C90
RGBrgb(104, 28, 144)
HSLhsl(279, 67%, 34%)
HSVhsv(279, 81%, 56%)
CMYKcmyk(27.8%, 80.6%, 0%, 43.5%)
CIE-LABlab(28.87, 51.41, -48.15)
CIE-LCHlch(28.87, 70.44, 316.88°)
OKLaboklab(41.01% 0.1161 -0.1366)
OKLCHoklch(41.01% 0.179 310.4)
XYZxyz(11.1572, 5.7874, 26.9095)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681C90 #44901C
analogous
#2E1C90 #681C90 #901C7E
triadic
#681C90 #90681C #1C9068
tetradic
#681C90 #902E1C #44901C #1C7E90
square
#681C90 #902E1C #44901C #1C7E90
split-complementary
#681C90 #7E901C #1C902E
monochromatic
#1E082A #43125D #681C90 #8D26C3 #AA4ADC

Accessibility & contrast

On white

9.73
#681C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #681C90
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681C90#FFFFFF#000000##FFFFFF
##681C901.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004193
Deuteranopia (green-blind)
#00458E
Tritanopia (blue-blind)
#623956
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #681c90;
/* rgb */ color: rgb(104, 28, 144);
/* oklch */ color: oklch(41.0% 0.179 310.4);
Tailwind
colors: {
  custom: {
    50: '#9862b1',
    500: '#681c90',
    950: '#000000',
  },
}
SCSS
$custom: #681c90;
$custom-light: #9862b1;
$custom-dark: #000000;
JSON
{
  "hex": "#681c90",
  "rgb": {
    "r": 104,
    "g": 28,
    "b": 144
  },
  "hsl": {
    "h": 279.31,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.41007,
    "c": 0.17926,
    "h": 310.4
  },
  "luminance": 0.05787
}

Semantic roles & 50–950 ramp

primary
#681C90
secondary
#72BE4A
accent
#EA3D79
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #681C90

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

Preview Lab → · Contrast checker → · Palette generator →

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