#681F9D#681F9D

#681F9D is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.3% C 0.189 H 305.8°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#681F9D
RGBrgb(104, 31, 157)
HSLhsl(275, 67%, 37%)
HSVhsv(275, 80%, 62%)
CMYKcmyk(33.8%, 80.3%, 0%, 38.4%)
CIE-LABlab(30.30, 53.24, -53.80)
CIE-LCHlch(30.30, 75.69, 314.70°)
OKLaboklab(42.33% 0.1104 -0.1532)
OKLCHoklch(42.33% 0.189 305.8)
XYZxyz(12.2834, 6.3575, 32.4718)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681F9D #549D1F
analogous
#291F9D #681F9D #9D1F93
triadic
#681F9D #9D681F #1F9D68
tetradic
#681F9D #9D291F #549D1F #1F939D
square
#681F9D #9D291F #549D1F #1F939D
split-complementary
#681F9D #939D1F #1F9D29
monochromatic
#240B37 #46156A #681F9D #8A29D0 #A658DE

Accessibility & contrast

On white

9.25
#681F9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#681F9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681F9D
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681F9D#FFFFFF#000000##FFFFFF
##681F9D1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A0
Deuteranopia (green-blind)
#00489B
Tritanopia (blue-blind)
#5E405E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #681f9d;
/* rgb */ color: rgb(104, 31, 157);
/* oklch */ color: oklch(42.3% 0.189 305.8);
Tailwind
colors: {
  custom: {
    50: '#9964bb',
    500: '#681f9d',
    950: '#000000',
  },
}
SCSS
$custom: #681f9d;
$custom-light: #9964bb;
$custom-dark: #000000;
JSON
{
  "hex": "#681f9d",
  "rgb": {
    "r": 104,
    "g": 31,
    "b": 157
  },
  "hsl": {
    "h": 274.762,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42334,
    "c": 0.18883,
    "h": 305.8
  },
  "luminance": 0.06357
}

Semantic roles & 50–950 ramp

primary
#681F9D
secondary
#83C256
accent
#EA3E86
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #681F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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