#681EAA#681EAA

#681EAA is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 43.4% C 0.202 H 302.0°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#681EAA
RGBrgb(104, 30, 170)
HSLhsl(272, 70%, 39%)
HSVhsv(272, 82%, 67%)
CMYKcmyk(38.8%, 82.4%, 0%, 33.3%)
CIE-LABlab(31.29, 56.59, -60.05)
CIE-LCHlch(31.29, 82.51, 313.30°)
OKLaboklab(43.37% 0.1073 -0.1716)
OKLCHoklch(43.37% 0.202 302)
XYZxyz(13.4271, 6.7738, 38.6225)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681EAA #60AA1E
analogous
#221EAA #681EAA #AA1EA6
triadic
#681EAA #AA681E #1EAA68
tetradic
#681EAA #AA221E #60AA1E #1EA6AA
square
#681EAA #AA221E #60AA1E #1EA6AA
split-complementary
#681EAA #A6AA1E #1EAA22
monochromatic
#280C42 #481576 #681EAA #882CDA #A560E3

Accessibility & contrast

On white

8.92
#681EAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#681EAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681EAA
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681EAA#FFFFFF#000000##FFFFFF
##681EAA1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AE
Deuteranopia (green-blind)
#0049A7
Tritanopia (blue-blind)
#594666
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #681eaa;
/* rgb */ color: rgb(104, 30, 170);
/* oklch */ color: oklch(43.4% 0.202 302.0);
Tailwind
colors: {
  custom: {
    50: '#9a64c4',
    500: '#681eaa',
    950: '#000000',
  },
}
SCSS
$custom: #681eaa;
$custom-light: #9a64c4;
$custom-dark: #000000;
JSON
{
  "hex": "#681eaa",
  "rgb": {
    "r": 104,
    "g": 30,
    "b": 170
  },
  "hsl": {
    "h": 271.714,
    "s": 70,
    "l": 39.216
  },
  "oklch": {
    "l": 0.43366,
    "c": 0.20237,
    "h": 302
  },
  "luminance": 0.06774
}

Semantic roles & 50–950 ramp

primary
#681EAA
secondary
#8FC75C
accent
#ED3B8F
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #681EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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