#681AB4#681AB4

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

Color values

HEX#681AB4
RGBrgb(104, 26, 180)
HSLhsl(270, 75%, 40%)
HSVhsv(270, 86%, 71%)
CMYKcmyk(42.2%, 85.6%, 0%, 29.4%)
CIE-LABlab(31.75, 60.18, -65.26)
CIE-LCHlch(31.75, 88.78, 312.68°)
OKLaboklab(43.97% 0.1065 -0.1868)
OKLCHoklch(43.97% 0.215 299.7)
XYZxyz(14.3144, 6.9770, 43.7637)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681AB4 #66B41A
analogous
#1B1AB4 #681AB4 #B41AB3
triadic
#681AB4 #B4681A #1AB468
tetradic
#681AB4 #B41B1A #66B41A #1AB3B4
square
#681AB4 #B41B1A #66B41A #1AB3B4
split-complementary
#681AB4 #B3B41A #1AB41B
monochromatic
#2A0B49 #49127F #681AB4 #872BE0 #A560E8

Accessibility & contrast

On white

8.77
#681AB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#681AB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681AB4
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681AB4#FFFFFF#000000##FFFFFF
##681AB41.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB8
Deuteranopia (green-blind)
#0049B1
Tritanopia (blue-blind)
#55496B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #681ab4;
/* rgb */ color: rgb(104, 26, 180);
/* oklch */ color: oklch(44.0% 0.215 299.7);
Tailwind
colors: {
  custom: {
    50: '#9b64cc',
    500: '#681ab4',
    950: '#000000',
  },
}
SCSS
$custom: #681ab4;
$custom-light: #9b64cc;
$custom-dark: #000000;
JSON
{
  "hex": "#681ab4",
  "rgb": {
    "r": 104,
    "g": 26,
    "b": 180
  },
  "hsl": {
    "h": 270.39,
    "s": 74.757,
    "l": 40.392
  },
  "oklch": {
    "l": 0.43965,
    "c": 0.21505,
    "h": 299.7
  },
  "luminance": 0.06977
}

Semantic roles & 50–950 ramp

primary
#681AB4
secondary
#94CC5D
accent
#F13693
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #681AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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