#681A9F#681A9F

#681A9F is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.1% C 0.195 H 305.6°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#681A9F
RGBrgb(104, 26, 159)
HSLhsl(275, 72%, 36%)
HSVhsv(275, 84%, 62%)
CMYKcmyk(34.6%, 83.6%, 0%, 37.6%)
CIE-LABlab(29.87, 55.41, -55.71)
CIE-LCHlch(29.87, 78.57, 314.85°)
OKLaboklab(42.09% 0.1136 -0.1588)
OKLCHoklch(42.09% 0.195 305.6)
XYZxyz(12.3349, 6.1851, 33.3382)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681A9F #519F1A
analogous
#261A9F #681A9F #9F1A94
triadic
#681A9F #9F681A #1A9F68
tetradic
#681A9F #9F261A #519F1A #1A949F
square
#681A9F #9F261A #519F1A #1A949F
split-complementary
#681A9F #949F1A #1A9F26
monochromatic
#230936 #46116A #681A9F #8A23D4 #A651E3

Accessibility & contrast

On white

9.39
#681A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#681A9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681A9F
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681A9F#FFFFFF#000000##FFFFFF
##681A9F1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#00479C
Tritanopia (blue-blind)
#5E3F5E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #681a9f;
/* rgb */ color: rgb(104, 26, 159);
/* oklch */ color: oklch(42.1% 0.195 305.6);
Tailwind
colors: {
  custom: {
    50: '#9962bc',
    500: '#681a9f',
    950: '#000000',
  },
}
SCSS
$custom: #681a9f;
$custom-light: #9962bc;
$custom-dark: #000000;
JSON
{
  "hex": "#681a9f",
  "rgb": {
    "r": 104,
    "g": 26,
    "b": 159
  },
  "hsl": {
    "h": 275.188,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42093,
    "c": 0.19522,
    "h": 305.6
  },
  "luminance": 0.06185
}

Semantic roles & 50–950 ramp

primary
#681A9F
secondary
#80C550
accent
#EF3984
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #681A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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