#681EA6#681EA6

#681EA6 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 43.0% C 0.199 H 303.2°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#681EA6
RGBrgb(104, 30, 166)
HSLhsl(273, 69%, 38%)
HSVhsv(273, 82%, 65%)
CMYKcmyk(37.3%, 81.9%, 0%, 34.9%)
CIE-LABlab(30.94, 55.66, -58.21)
CIE-LCHlch(30.94, 80.54, 313.72°)
OKLaboklab(43.02% 0.1086 -0.1662)
OKLCHoklch(43.02% 0.199 303.2)
XYZxyz(13.0545, 6.6248, 36.6600)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681EA6 #5CA61E
analogous
#241EA6 #681EA6 #A61EA0
triadic
#681EA6 #A6681E #1EA668
tetradic
#681EA6 #A6241E #5CA61E #1EA0A6
square
#681EA6 #A6241E #5CA61E #1EA0A6
split-complementary
#681EA6 #A0A61E #1EA624
monochromatic
#270B3E #481572 #681EA6 #8829D8 #A55DE2

Accessibility & contrast

On white

9.03
#681EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#681EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681EA6
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681EA6#FFFFFF#000000##FFFFFF
##681EA61.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AA
Deuteranopia (green-blind)
#0048A3
Tritanopia (blue-blind)
#5B4463
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #681ea6;
/* rgb */ color: rgb(104, 30, 166);
/* oklch */ color: oklch(43.0% 0.199 303.2);
Tailwind
colors: {
  custom: {
    50: '#9964c1',
    500: '#681ea6',
    950: '#000000',
  },
}
SCSS
$custom: #681ea6;
$custom-light: #9964c1;
$custom-dark: #000000;
JSON
{
  "hex": "#681ea6",
  "rgb": {
    "r": 104,
    "g": 30,
    "b": 166
  },
  "hsl": {
    "h": 272.647,
    "s": 69.388,
    "l": 38.431
  },
  "oklch": {
    "l": 0.43016,
    "c": 0.1985,
    "h": 303.2
  },
  "luminance": 0.06625
}

Semantic roles & 50–950 ramp

primary
#681EA6
secondary
#8BC65A
accent
#EC3C8C
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #681EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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