#681C9E#681C9E

#681C9E is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.2% C 0.193 H 305.7°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#681C9E
RGBrgb(104, 28, 158)
HSLhsl(275, 70%, 36%)
HSVhsv(275, 82%, 62%)
CMYKcmyk(34.2%, 82.3%, 0%, 38%)
CIE-LABlab(30.02, 54.52, -54.87)
CIE-LCHlch(30.02, 77.35, 314.82°)
OKLaboklab(42.16% 0.1124 -0.1563)
OKLCHoklch(42.16% 0.193 305.7)
XYZxyz(12.2943, 6.2423, 32.8983)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681C9E #529E1C
analogous
#271C9E #681C9E #9E1C93
triadic
#681C9E #9E681C #1C9E68
tetradic
#681C9E #9E271C #529E1C #1C939E
square
#681C9E #9E271C #529E1C #1C939E
split-complementary
#681C9E #939E1C #1C9E27
monochromatic
#240A36 #46136A #681C9E #8A25D2 #A654E1

Accessibility & contrast

On white

9.34
#681C9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#681C9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681C9E
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681C9E#FFFFFF#000000##FFFFFF
##681C9E1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A1
Deuteranopia (green-blind)
#00479C
Tritanopia (blue-blind)
#5E3F5E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #681c9e;
/* rgb */ color: rgb(104, 28, 158);
/* oklch */ color: oklch(42.2% 0.193 305.7);
Tailwind
colors: {
  custom: {
    50: '#9963bc',
    500: '#681c9e',
    950: '#000000',
  },
}
SCSS
$custom: #681c9e;
$custom-light: #9963bc;
$custom-dark: #000000;
JSON
{
  "hex": "#681c9e",
  "rgb": {
    "r": 104,
    "g": 28,
    "b": 158
  },
  "hsl": {
    "h": 275.077,
    "s": 69.892,
    "l": 36.471
  },
  "oklch": {
    "l": 0.42164,
    "c": 0.19256,
    "h": 305.7
  },
  "luminance": 0.06242
}

Semantic roles & 50–950 ramp

primary
#681C9E
secondary
#81C452
accent
#ED3B85
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #681C9E

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

Preview Lab → · Contrast checker → · Palette generator →

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