#681B9E#681B9E

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

Color values

HEX#681B9E
RGBrgb(104, 27, 158)
HSLhsl(275, 71%, 36%)
HSVhsv(275, 83%, 62%)
CMYKcmyk(34.2%, 82.9%, 0%, 38%)
CIE-LABlab(29.90, 54.86, -55.05)
CIE-LCHlch(29.90, 77.72, 314.90°)
OKLaboklab(42.08% 0.1132 -0.1569)
OKLCHoklch(42.08% 0.193 305.8)
XYZxyz(12.2710, 6.1956, 32.8905)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681B9E #519E1B
analogous
#261B9E #681B9E #9E1B93
triadic
#681B9E #9E681B #1B9E68
tetradic
#681B9E #9E261B #519E1B #1B939E
square
#681B9E #9E261B #519E1B #1B939E
split-complementary
#681B9E #939E1B #1B9E26
monochromatic
#230935 #46126A #681B9E #8A24D2 #A652E1

Accessibility & contrast

On white

9.38
#681B9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #681B9E
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681B9E#FFFFFF#000000##FFFFFF
##681B9E1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #681b9e;
/* rgb */ color: rgb(104, 27, 158);
/* oklch */ color: oklch(42.1% 0.193 305.8);
Tailwind
colors: {
  custom: {
    50: '#9963bc',
    500: '#681b9e',
    950: '#000000',
  },
}
SCSS
$custom: #681b9e;
$custom-light: #9963bc;
$custom-dark: #000000;
JSON
{
  "hex": "#681b9e",
  "rgb": {
    "r": 104,
    "g": 27,
    "b": 158
  },
  "hsl": {
    "h": 275.267,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42084,
    "c": 0.19344,
    "h": 305.8
  },
  "luminance": 0.06196
}

Semantic roles & 50–950 ramp

primary
#681B9E
secondary
#80C451
accent
#EE3A84
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #681B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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