#681F9C#681F9C

#681F9C is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.3% C 0.188 H 306.1°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#681F9C
RGBrgb(104, 31, 156)
HSLhsl(275, 67%, 37%)
HSVhsv(275, 80%, 61%)
CMYKcmyk(33.3%, 80.1%, 0%, 38.8%)
CIE-LABlab(30.21, 53.01, -53.33)
CIE-LCHlch(30.21, 75.19, 314.83°)
OKLaboklab(42.25% 0.1106 -0.1518)
OKLCHoklch(42.25% 0.188 306.1)
XYZxyz(12.1983, 6.3234, 32.0240)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681F9C #539C1F
analogous
#2A1F9C #681F9C #9C1F92
triadic
#681F9C #9C681F #1F9C68
tetradic
#681F9C #9C2A1F #539C1F #1F929C
square
#681F9C #9C2A1F #539C1F #1F929C
split-complementary
#681F9C #929C1F #1F9C2A
monochromatic
#240B36 #461569 #681F9C #8A29CF #A658DE

Accessibility & contrast

On white

9.27
#681F9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#681F9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681F9C
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681F9C#FFFFFF#000000##FFFFFF
##681F9C1.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459F
Deuteranopia (green-blind)
#00479A
Tritanopia (blue-blind)
#5F405E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #681f9c;
/* rgb */ color: rgb(104, 31, 156);
/* oklch */ color: oklch(42.3% 0.188 306.1);
Tailwind
colors: {
  custom: {
    50: '#9864ba',
    500: '#681f9c',
    950: '#000000',
  },
}
SCSS
$custom: #681f9c;
$custom-light: #9864ba;
$custom-dark: #000000;
JSON
{
  "hex": "#681f9c",
  "rgb": {
    "r": 104,
    "g": 31,
    "b": 156
  },
  "hsl": {
    "h": 275.04,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42251,
    "c": 0.18787,
    "h": 306.1
  },
  "luminance": 0.06323
}

Semantic roles & 50–950 ramp

primary
#681F9C
secondary
#82C155
accent
#EA3E85
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #681F9C

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

Preview Lab → · Contrast checker → · Palette generator →

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