#681E9F#681E9F

#681E9F is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.4% C 0.192 H 305.2°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#681E9F
RGBrgb(104, 30, 159)
HSLhsl(274, 68%, 37%)
HSVhsv(274, 81%, 62%)
CMYKcmyk(34.6%, 81.1%, 0%, 37.6%)
CIE-LABlab(30.34, 54.05, -54.95)
CIE-LCHlch(30.34, 77.08, 314.53°)
OKLaboklab(42.42% 0.1106 -0.1566)
OKLCHoklch(42.42% 0.192 305.2)
XYZxyz(12.4298, 6.3749, 33.3698)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681E9F #559F1E
analogous
#281E9F #681E9F #9F1E95
triadic
#681E9F #9F681E #1E9F68
tetradic
#681E9F #9F281E #559F1E #1E959F
square
#681E9F #9F281E #559F1E #1E959F
split-complementary
#681E9F #959F1E #1E9F28
monochromatic
#250B38 #46146C #681E9F #8A28D2 #A658DF

Accessibility & contrast

On white

9.23
#681E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#681E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681E9F
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681E9F#FFFFFF#000000##FFFFFF
##681E9F1.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#00489D
Tritanopia (blue-blind)
#5E415F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #681e9f;
/* rgb */ color: rgb(104, 30, 159);
/* oklch */ color: oklch(42.4% 0.192 305.2);
Tailwind
colors: {
  custom: {
    50: '#9964bc',
    500: '#681e9f',
    950: '#000000',
  },
}
SCSS
$custom: #681e9f;
$custom-light: #9964bc;
$custom-dark: #000000;
JSON
{
  "hex": "#681e9f",
  "rgb": {
    "r": 104,
    "g": 30,
    "b": 159
  },
  "hsl": {
    "h": 274.419,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42416,
    "c": 0.19172,
    "h": 305.2
  },
  "luminance": 0.06375
}

Semantic roles & 50–950 ramp

primary
#681E9F
secondary
#84C356
accent
#EB3D87
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #681E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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