#681A9D#681A9D

#681A9D is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.9% C 0.193 H 306.2°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#681A9D
RGBrgb(104, 26, 157)
HSLhsl(276, 72%, 36%)
HSVhsv(276, 83%, 62%)
CMYKcmyk(33.8%, 83.4%, 0%, 38.4%)
CIE-LABlab(29.70, 54.96, -54.77)
CIE-LCHlch(29.70, 77.59, 315.10°)
OKLaboklab(41.92% 0.1142 -0.156)
OKLCHoklch(41.92% 0.193 306.2)
XYZxyz(12.1628, 6.1163, 32.4316)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681A9D #4F9D1A
analogous
#261A9D #681A9D #9D1A90
triadic
#681A9D #9D681A #1A9D68
tetradic
#681A9D #9D261A #4F9D1A #1A909D
square
#681A9D #9D261A #4F9D1A #1A909D
split-complementary
#681A9D #909D1A #1A9D26
monochromatic
#220934 #451168 #681A9D #8B23D2 #A74FE2

Accessibility & contrast

On white

9.45
#681A9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#681A9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681A9D
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681A9D#FFFFFF#000000##FFFFFF
##681A9D1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A0
Deuteranopia (green-blind)
#00469B
Tritanopia (blue-blind)
#5E3E5D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #681a9d;
/* rgb */ color: rgb(104, 26, 157);
/* oklch */ color: oklch(41.9% 0.193 306.2);
Tailwind
colors: {
  custom: {
    50: '#9962bb',
    500: '#681a9d',
    950: '#000000',
  },
}
SCSS
$custom: #681a9d;
$custom-light: #9962bb;
$custom-dark: #000000;
JSON
{
  "hex": "#681a9d",
  "rgb": {
    "r": 104,
    "g": 26,
    "b": 157
  },
  "hsl": {
    "h": 275.725,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41921,
    "c": 0.19335,
    "h": 306.2
  },
  "luminance": 0.06116
}

Semantic roles & 50–950 ramp

primary
#681A9D
secondary
#7EC44E
accent
#EE3983
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #681A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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