#681DB4#681DB4

#681DB4 is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 44.2% C 0.213 H 299.5°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#681DB4
RGBrgb(104, 29, 180)
HSLhsl(270, 72%, 41%)
HSVhsv(270, 84%, 71%)
CMYKcmyk(42.2%, 83.9%, 0%, 29.4%)
CIE-LABlab(32.07, 59.25, -64.74)
CIE-LCHlch(32.07, 87.76, 312.46°)
OKLaboklab(44.18% 0.1047 -0.1853)
OKLCHoklch(44.18% 0.213 299.5)
XYZxyz(14.3844, 7.1169, 43.7870)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681DB4 #69B41D
analogous
#1D1EB4 #681DB4 #B31DB4
triadic
#681DB4 #B4681D #1DB468
tetradic
#681DB4 #B41D1E #69B41D #1DB4B3
square
#681DB4 #B41D1E #69B41D #1DB4B3
split-complementary
#681DB4 #B4B31D #1EB41D
monochromatic
#2B0C4B #4A157F #681DB4 #8730DE #A565E6

Accessibility & contrast

On white

8.67
#681DB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#681DB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681DB4
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681DB4#FFFFFF#000000##FFFFFF
##681DB41.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB8
Deuteranopia (green-blind)
#004AB1
Tritanopia (blue-blind)
#554A6B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #681db4;
/* rgb */ color: rgb(104, 29, 180);
/* oklch */ color: oklch(44.2% 0.213 299.5);
Tailwind
colors: {
  custom: {
    50: '#9b65cc',
    500: '#681db4',
    950: '#000000',
  },
}
SCSS
$custom: #681db4;
$custom-light: #9b65cc;
$custom-dark: #000000;
JSON
{
  "hex": "#681db4",
  "rgb": {
    "r": 104,
    "g": 29,
    "b": 180
  },
  "hsl": {
    "h": 269.801,
    "s": 72.249,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44184,
    "c": 0.21285,
    "h": 299.5
  },
  "luminance": 0.07117
}

Semantic roles & 50–950 ramp

primary
#681DB4
secondary
#97CB61
accent
#EF3995
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #681DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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