#681F9E#681F9E

#681F9E is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.4% C 0.190 H 305.5°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#681F9E
RGBrgb(104, 31, 158)
HSLhsl(274, 67%, 37%)
HSVhsv(274, 80%, 62%)
CMYKcmyk(34.2%, 80.4%, 0%, 38%)
CIE-LABlab(30.38, 53.47, -54.27)
CIE-LCHlch(30.38, 76.18, 314.57°)
OKLaboklab(42.42% 0.1101 -0.1546)
OKLCHoklch(42.42% 0.19 305.5)
XYZxyz(12.3691, 6.3917, 32.9232)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681F9E #559E1F
analogous
#281F9E #681F9E #9E1F95
triadic
#681F9E #9E681F #1F9E68
tetradic
#681F9E #9E281F #559E1F #1F959E
square
#681F9E #9E281F #559E1F #1F959E
split-complementary
#681F9E #959E1F #1F9E28
monochromatic
#250B38 #46156B #681F9E #8A29D1 #A659DE

Accessibility & contrast

On white

9.22
#681F9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#681F9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681F9E
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681F9E#FFFFFF#000000##FFFFFF
##681F9E1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A1
Deuteranopia (green-blind)
#00489C
Tritanopia (blue-blind)
#5E415F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #681f9e;
/* rgb */ color: rgb(104, 31, 158);
/* oklch */ color: oklch(42.4% 0.190 305.5);
Tailwind
colors: {
  custom: {
    50: '#9964bc',
    500: '#681f9e',
    950: '#000000',
  },
}
SCSS
$custom: #681f9e;
$custom-light: #9964bc;
$custom-dark: #000000;
JSON
{
  "hex": "#681f9e",
  "rgb": {
    "r": 104,
    "g": 31,
    "b": 158
  },
  "hsl": {
    "h": 274.488,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42418,
    "c": 0.18981,
    "h": 305.5
  },
  "luminance": 0.06392
}

Semantic roles & 50–950 ramp

primary
#681F9E
secondary
#84C256
accent
#EA3E87
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #681F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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