#681FA6#681FA6

#681FA6 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 43.1% C 0.198 H 303.1°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#681FA6
RGBrgb(104, 31, 166)
HSLhsl(272, 69%, 39%)
HSVhsv(272, 81%, 65%)
CMYKcmyk(37.3%, 81.3%, 0%, 34.9%)
CIE-LABlab(31.06, 55.31, -58.01)
CIE-LCHlch(31.06, 80.15, 313.63°)
OKLaboklab(43.1% 0.1078 -0.1656)
OKLCHoklch(43.1% 0.198 303.1)
XYZxyz(13.0802, 6.6762, 36.6685)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681FA6 #5DA61F
analogous
#241FA6 #681FA6 #A61FA0
triadic
#681FA6 #A6681F #1FA668
tetradic
#681FA6 #A6241F #5DA61F #1FA0A6
square
#681FA6 #A6241F #5DA61F #1FA0A6
split-complementary
#681FA6 #A0A61F #1FA624
monochromatic
#270C3F #481572 #681FA6 #882BD7 #A55EE1

Accessibility & contrast

On white

8.99
#681FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#681FA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681FA6
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681FA6#FFFFFF#000000##FFFFFF
##681FA61.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #681fa6;
/* rgb */ color: rgb(104, 31, 166);
/* oklch */ color: oklch(43.1% 0.198 303.1);
Tailwind
colors: {
  custom: {
    50: '#9965c1',
    500: '#681fa6',
    950: '#000000',
  },
}
SCSS
$custom: #681fa6;
$custom-light: #9965c1;
$custom-dark: #000000;
JSON
{
  "hex": "#681fa6",
  "rgb": {
    "r": 104,
    "g": 31,
    "b": 166
  },
  "hsl": {
    "h": 272.444,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.431,
    "c": 0.19762,
    "h": 303.1
  },
  "luminance": 0.06676
}

Semantic roles & 50–950 ramp

primary
#681FA6
secondary
#8CC55B
accent
#EB3C8D
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #681FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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