#681B9D#681B9D

#681B9D is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.0% C 0.192 H 306.1°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#681B9D
RGBrgb(104, 27, 157)
HSLhsl(276, 71%, 36%)
HSVhsv(276, 83%, 62%)
CMYKcmyk(33.8%, 82.8%, 0%, 38.4%)
CIE-LABlab(29.82, 54.63, -54.58)
CIE-LCHlch(29.82, 77.23, 315.03°)
OKLaboklab(42% 0.1135 -0.1555)
OKLCHoklch(42% 0.192 306.1)
XYZxyz(12.1853, 6.1614, 32.4391)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681B9D #509D1B
analogous
#271B9D #681B9D #9D1B91
triadic
#681B9D #9D681B #1B9D68
tetradic
#681B9D #9D271B #509D1B #1B919D
square
#681B9D #9D271B #509D1B #1B919D
split-complementary
#681B9D #919D1B #1B9D27
monochromatic
#230935 #451269 #681B9D #8B24D1 #A651E1

Accessibility & contrast

On white

9.41
#681B9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#681B9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681B9D
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681B9D#FFFFFF#000000##FFFFFF
##681B9D1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #681b9d;
/* rgb */ color: rgb(104, 27, 157);
/* oklch */ color: oklch(42.0% 0.192 306.1);
Tailwind
colors: {
  custom: {
    50: '#9962bb',
    500: '#681b9d',
    950: '#000000',
  },
}
SCSS
$custom: #681b9d;
$custom-light: #9962bb;
$custom-dark: #000000;
JSON
{
  "hex": "#681b9d",
  "rgb": {
    "r": 104,
    "g": 27,
    "b": 157
  },
  "hsl": {
    "h": 275.538,
    "s": 70.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41999,
    "c": 0.19249,
    "h": 306.1
  },
  "luminance": 0.06161
}

Semantic roles & 50–950 ramp

primary
#681B9D
secondary
#7FC450
accent
#ED3A83
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #681B9D

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

Preview Lab → · Contrast checker → · Palette generator →

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