#681EA7#681EA7

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

Color values

HEX#681EA7
RGBrgb(104, 30, 167)
HSLhsl(272, 70%, 39%)
HSVhsv(272, 82%, 65%)
CMYKcmyk(37.7%, 82%, 0%, 34.5%)
CIE-LABlab(31.02, 55.89, -58.67)
CIE-LCHlch(31.02, 81.03, 313.61°)
OKLaboklab(43.1% 0.1083 -0.1675)
OKLCHoklch(43.1% 0.199 302.9)
XYZxyz(13.1466, 6.6616, 37.1449)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681EA7 #5DA71E
analogous
#241EA7 #681EA7 #A71EA1
triadic
#681EA7 #A7681E #1EA768
tetradic
#681EA7 #A7241E #5DA71E #1EA1A7
square
#681EA7 #A7241E #5DA71E #1EA1A7
split-complementary
#681EA7 #A1A71E #1EA724
monochromatic
#270B3F #481573 #681EA7 #882AD9 #A55DE2

Accessibility & contrast

On white

9.00
#681EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #681EA7
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681EA7#FFFFFF#000000##FFFFFF
##681EA71.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #681ea7;
/* rgb */ color: rgb(104, 30, 167);
/* oklch */ color: oklch(43.1% 0.199 302.9);
Tailwind
colors: {
  custom: {
    50: '#9a64c2',
    500: '#681ea7',
    950: '#000000',
  },
}
SCSS
$custom: #681ea7;
$custom-light: #9a64c2;
$custom-dark: #000000;
JSON
{
  "hex": "#681ea7",
  "rgb": {
    "r": 104,
    "g": 30,
    "b": 167
  },
  "hsl": {
    "h": 272.409,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43103,
    "c": 0.19946,
    "h": 302.9
  },
  "luminance": 0.06662
}

Semantic roles & 50–950 ramp

primary
#681EA7
secondary
#8CC65B
accent
#EC3B8D
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #681EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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