#681A88#681A88

#681A88 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.2% C 0.174 H 313.5°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#681A88
RGBrgb(104, 26, 136)
HSLhsl(283, 68%, 32%)
HSVhsv(283, 81%, 53%)
CMYKcmyk(23.5%, 80.9%, 0%, 46.7%)
CIE-LABlab(28.01, 50.39, -44.58)
CIE-LCHlch(28.01, 67.28, 318.50°)
OKLaboklab(40.21% 0.1195 -0.1261)
OKLCHoklch(40.21% 0.174 313.5)
XYZxyz(10.5215, 5.4598, 23.7874)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681A88 #3A881A
analogous
#311A88 #681A88 #881A71
triadic
#681A88 #88681A #1A8868
tetradic
#681A88 #88311A #3A881A #1A7188
square
#681A88 #88311A #3A881A #1A7188
split-complementary
#681A88 #71881A #1A8831
monochromatic
#190621 #411055 #681A88 #8F24BB #AE42DB

Accessibility & contrast

On white

10.04
#681A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#681A88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681A88
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681A88#FFFFFF#000000##FFFFFF
##681A881.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8B
Deuteranopia (green-blind)
#0C4486
Tritanopia (blue-blind)
#653551
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #681a88;
/* rgb */ color: rgb(104, 26, 136);
/* oklch */ color: oklch(40.2% 0.174 313.5);
Tailwind
colors: {
  custom: {
    50: '#9761ab',
    500: '#681a88',
    950: '#000000',
  },
}
SCSS
$custom: #681a88;
$custom-light: #9761ab;
$custom-dark: #000000;
JSON
{
  "hex": "#681a88",
  "rgb": {
    "r": 104,
    "g": 26,
    "b": 136
  },
  "hsl": {
    "h": 282.545,
    "s": 67.901,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40206,
    "c": 0.17374,
    "h": 313.5
  },
  "luminance": 0.05459
}

Semantic roles & 50–950 ramp

primary
#681A88
secondary
#66BB43
accent
#EB3D70
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #681A88

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

Preview Lab → · Contrast checker → · Palette generator →

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