#681A9E#681A9E

#681A9E is a dark, vivid violet. Relative luminance 0.061; OKLCH L 42.0% C 0.194 H 305.9°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#681A9E
RGBrgb(104, 26, 158)
HSLhsl(275, 72%, 36%)
HSVhsv(275, 84%, 62%)
CMYKcmyk(34.2%, 83.5%, 0%, 38%)
CIE-LABlab(29.79, 55.18, -55.24)
CIE-LCHlch(29.79, 78.08, 314.97°)
OKLaboklab(42.01% 0.1139 -0.1574)
OKLCHoklch(42.01% 0.194 305.9)
XYZxyz(12.2485, 6.1506, 32.8830)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681A9E #509E1A
analogous
#261A9E #681A9E #9E1A92
triadic
#681A9E #9E681A #1A9E68
tetradic
#681A9E #9E261A #509E1A #1A929E
square
#681A9E #9E261A #509E1A #1A929E
split-complementary
#681A9E #929E1A #1A9E26
monochromatic
#230935 #451169 #681A9E #8B23D3 #A650E2

Accessibility & contrast

On white

9.42
#681A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#681A9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681A9E
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681A9E#FFFFFF#000000##FFFFFF
##681A9E1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#00469B
Tritanopia (blue-blind)
#5E3F5E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #681a9e;
/* rgb */ color: rgb(104, 26, 158);
/* oklch */ color: oklch(42.0% 0.194 305.9);
Tailwind
colors: {
  custom: {
    50: '#9962bc',
    500: '#681a9e',
    950: '#000000',
  },
}
SCSS
$custom: #681a9e;
$custom-light: #9962bc;
$custom-dark: #000000;
JSON
{
  "hex": "#681a9e",
  "rgb": {
    "r": 104,
    "g": 26,
    "b": 158
  },
  "hsl": {
    "h": 275.455,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42007,
    "c": 0.19428,
    "h": 305.9
  },
  "luminance": 0.0615
}

Semantic roles & 50–950 ramp

primary
#681A9E
secondary
#7FC54F
accent
#EE3983
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #681A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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