#681DA7#681DA7

#681DA7 is a dark, highly saturated violet. Relative luminance 0.066; OKLCH L 43.0% C 0.200 H 303.0°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#681DA7
RGBrgb(104, 29, 167)
HSLhsl(273, 70%, 38%)
HSVhsv(273, 83%, 65%)
CMYKcmyk(37.7%, 82.6%, 0%, 34.5%)
CIE-LABlab(30.91, 56.23, -58.86)
CIE-LCHlch(30.91, 81.41, 313.69°)
OKLaboklab(43.02% 0.109 -0.1681)
OKLCHoklch(43.02% 0.2 303)
XYZxyz(13.1217, 6.6118, 37.1366)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681DA7 #5CA71D
analogous
#231DA7 #681DA7 #A71DA1
triadic
#681DA7 #A7681D #1DA768
tetradic
#681DA7 #A7231D #5CA71D #1DA1A7
square
#681DA7 #A7231D #5CA71D #1DA1A7
split-complementary
#681DA7 #A1A71D #1DA723
monochromatic
#270B3F #481473 #681DA7 #8828DA #A55CE3

Accessibility & contrast

On white

9.04
#681DA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#681DA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681DA7
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681DA7#FFFFFF#000000##FFFFFF
##681DA71.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AB
Deuteranopia (green-blind)
#0048A4
Tritanopia (blue-blind)
#5B4464
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #681da7;
/* rgb */ color: rgb(104, 29, 167);
/* oklch */ color: oklch(43.0% 0.200 303.0);
Tailwind
colors: {
  custom: {
    50: '#9a64c2',
    500: '#681da7',
    950: '#000000',
  },
}
SCSS
$custom: #681da7;
$custom-light: #9a64c2;
$custom-dark: #000000;
JSON
{
  "hex": "#681da7",
  "rgb": {
    "r": 104,
    "g": 29,
    "b": 167
  },
  "hsl": {
    "h": 272.609,
    "s": 70.408,
    "l": 38.431
  },
  "oklch": {
    "l": 0.43022,
    "c": 0.20032,
    "h": 303
  },
  "luminance": 0.06612
}

Semantic roles & 50–950 ramp

primary
#681DA7
secondary
#8BC759
accent
#ED3B8C
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0613
muted
#7E7A82

Preview Lab

Preview with #681DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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