#681F9A#681F9A

#681F9A is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.1% C 0.186 H 306.7°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#681F9A
RGBrgb(104, 31, 154)
HSLhsl(276, 66%, 36%)
HSVhsv(276, 80%, 60%)
CMYKcmyk(32.5%, 79.9%, 0%, 39.6%)
CIE-LABlab(30.05, 52.55, -52.37)
CIE-LCHlch(30.05, 74.19, 315.10°)
OKLaboklab(42.09% 0.1112 -0.149)
OKLCHoklch(42.09% 0.186 306.7)
XYZxyz(12.0304, 6.2563, 31.1394)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681F9A #519A1F
analogous
#2B1F9A #681F9A #9A1F8F
triadic
#681F9A #9A681F #1F9A68
tetradic
#681F9A #9A2B1F #519A1F #1F8F9A
square
#681F9A #9A2B1F #519A1F #1F8F9A
split-complementary
#681F9A #8F9A1F #1F9A2B
monochromatic
#230A34 #461567 #681F9A #8A29CD #A656DD

Accessibility & contrast

On white

9.33
#681F9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#681F9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681F9A
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681F9A#FFFFFF#000000##FFFFFF
##681F9A1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459D
Deuteranopia (green-blind)
#004798
Tritanopia (blue-blind)
#5F3F5D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #681f9a;
/* rgb */ color: rgb(104, 31, 154);
/* oklch */ color: oklch(42.1% 0.186 306.7);
Tailwind
colors: {
  custom: {
    50: '#9864b9',
    500: '#681f9a',
    950: '#000000',
  },
}
SCSS
$custom: #681f9a;
$custom-light: #9864b9;
$custom-dark: #000000;
JSON
{
  "hex": "#681f9a",
  "rgb": {
    "r": 104,
    "g": 31,
    "b": 154
  },
  "hsl": {
    "h": 275.61,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42085,
    "c": 0.18591,
    "h": 306.7
  },
  "luminance": 0.06256
}

Semantic roles & 50–950 ramp

primary
#681F9A
secondary
#80C154
accent
#E93E84
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #681F9A

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

Preview Lab → · Contrast checker → · Palette generator →

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