#681CB3#681CB3

#681CB3 is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 44.0% C 0.213 H 299.8°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#681CB3
RGBrgb(104, 28, 179)
HSLhsl(270, 73%, 41%)
HSVhsv(270, 84%, 70%)
CMYKcmyk(41.9%, 84.4%, 0%, 29.8%)
CIE-LABlab(31.87, 59.34, -64.48)
CIE-LCHlch(31.87, 87.62, 312.62°)
OKLaboklab(44.02% 0.1057 -0.1845)
OKLCHoklch(44.02% 0.213 299.8)
XYZxyz(14.2588, 7.0281, 43.2444)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681CB3 #67B31C
analogous
#1D1CB3 #681CB3 #B31CB2
triadic
#681CB3 #B3681C #1CB368
tetradic
#681CB3 #B31D1C #67B31C #1CB2B3
square
#681CB3 #B31D1C #67B31C #1CB2B3
split-complementary
#681CB3 #B2B31C #1CB31D
monochromatic
#2B0B49 #49147E #681CB3 #872EDE #A563E7

Accessibility & contrast

On white

8.73
#681CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#681CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681CB3
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681CB3#FFFFFF#000000##FFFFFF
##681CB31.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB7
Deuteranopia (green-blind)
#004AB0
Tritanopia (blue-blind)
#56496B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #681cb3;
/* rgb */ color: rgb(104, 28, 179);
/* oklch */ color: oklch(44.0% 0.213 299.8);
Tailwind
colors: {
  custom: {
    50: '#9b64cb',
    500: '#681cb3',
    950: '#000000',
  },
}
SCSS
$custom: #681cb3;
$custom-light: #9b64cb;
$custom-dark: #000000;
JSON
{
  "hex": "#681cb3",
  "rgb": {
    "r": 104,
    "g": 28,
    "b": 179
  },
  "hsl": {
    "h": 270.199,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44017,
    "c": 0.21265,
    "h": 299.8
  },
  "luminance": 0.07028
}

Semantic roles & 50–950 ramp

primary
#681CB3
secondary
#95CB5F
accent
#F03893
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #681CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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