#681AA0#681AA0

#681AA0 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.2% C 0.196 H 305.3°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#681AA0
RGBrgb(104, 26, 160)
HSLhsl(275, 72%, 36%)
HSVhsv(275, 84%, 63%)
CMYKcmyk(35%, 83.8%, 0%, 37.3%)
CIE-LABlab(29.96, 55.63, -56.17)
CIE-LCHlch(29.96, 79.06, 314.72°)
OKLaboklab(42.18% 0.1133 -0.1601)
OKLCHoklch(42.18% 0.196 305.3)
XYZxyz(12.4220, 6.2200, 33.7971)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681AA0 #52A01A
analogous
#251AA0 #681AA0 #A01A95
triadic
#681AA0 #A0681A #1AA068
tetradic
#681AA0 #A0251A #52A01A #1A95A0
square
#681AA0 #A0251A #52A01A #1A95A0
split-complementary
#681AA0 #95A01A #1AA025
monochromatic
#240937 #46116B #681AA0 #8A23D5 #A652E3

Accessibility & contrast

On white

9.36
#681AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#681AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681AA0
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681AA0#FFFFFF#000000##FFFFFF
##681AA01.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A4
Deuteranopia (green-blind)
#00479D
Tritanopia (blue-blind)
#5D405F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #681aa0;
/* rgb */ color: rgb(104, 26, 160);
/* oklch */ color: oklch(42.2% 0.196 305.3);
Tailwind
colors: {
  custom: {
    50: '#9962bd',
    500: '#681aa0',
    950: '#000000',
  },
}
SCSS
$custom: #681aa0;
$custom-light: #9962bd;
$custom-dark: #000000;
JSON
{
  "hex": "#681aa0",
  "rgb": {
    "r": 104,
    "g": 26,
    "b": 160
  },
  "hsl": {
    "h": 274.925,
    "s": 72.043,
    "l": 36.471
  },
  "oklch": {
    "l": 0.42179,
    "c": 0.19616,
    "h": 305.3
  },
  "luminance": 0.0622
}

Semantic roles & 50–950 ramp

primary
#681AA0
secondary
#81C550
accent
#EF3985
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #681AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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