#681FA0#681FA0

#681FA0 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.6% C 0.192 H 304.8°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#681FA0
RGBrgb(104, 31, 160)
HSLhsl(274, 68%, 37%)
HSVhsv(274, 81%, 63%)
CMYKcmyk(35%, 80.6%, 0%, 37.3%)
CIE-LABlab(30.55, 53.92, -55.22)
CIE-LCHlch(30.55, 77.18, 314.32°)
OKLaboklab(42.59% 0.1096 -0.1574)
OKLCHoklch(42.59% 0.192 304.8)
XYZxyz(12.5426, 6.4612, 33.8372)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681FA0 #57A01F
analogous
#271FA0 #681FA0 #A01F98
triadic
#681FA0 #A0681F #1FA068
tetradic
#681FA0 #A0271F #57A01F #1F98A0
square
#681FA0 #A0271F #57A01F #1F98A0
split-complementary
#681FA0 #98A01F #1FA027
monochromatic
#250B39 #47156D #681FA0 #8929D3 #A55ADF

Accessibility & contrast

On white

9.16
#681FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#681FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681FA0
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681FA0#FFFFFF#000000##FFFFFF
##681FA01.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A3
Deuteranopia (green-blind)
#00489E
Tritanopia (blue-blind)
#5D4260
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #681fa0;
/* rgb */ color: rgb(104, 31, 160);
/* oklch */ color: oklch(42.6% 0.192 304.8);
Tailwind
colors: {
  custom: {
    50: '#9964bd',
    500: '#681fa0',
    950: '#000000',
  },
}
SCSS
$custom: #681fa0;
$custom-light: #9964bd;
$custom-dark: #000000;
JSON
{
  "hex": "#681fa0",
  "rgb": {
    "r": 104,
    "g": 31,
    "b": 160
  },
  "hsl": {
    "h": 273.953,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.42587,
    "c": 0.19176,
    "h": 304.8
  },
  "luminance": 0.06461
}

Semantic roles & 50–950 ramp

primary
#681FA0
secondary
#86C358
accent
#EA3D88
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #681FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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