#681689#681689

#681689 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 40.0% C 0.178 H 313.4°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#681689
RGBrgb(104, 22, 137)
HSLhsl(283, 72%, 31%)
HSVhsv(283, 84%, 54%)
CMYKcmyk(24.1%, 83.9%, 0%, 46.3%)
CIE-LABlab(27.64, 51.90, -45.80)
CIE-LCHlch(27.64, 69.22, 318.57°)
OKLaboklab(39.97% 0.1225 -0.1297)
OKLCHoklch(39.97% 0.178 313.4)
XYZxyz(10.5104, 5.3234, 24.1359)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681689 #378916
analogous
#2F1689 #681689 #891670
triadic
#681689 #896816 #168968
tetradic
#681689 #892F16 #378916 #167089
square
#681689 #892F16 #378916 #167089
split-complementary
#681689 #708916 #16892F
monochromatic
#180520 #400E54 #681689 #901EBE #B03ADF

Accessibility & contrast

On white

10.17
#681689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#681689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681689
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681689#FFFFFF#000000##FFFFFF
##6816891.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8C
Deuteranopia (green-blind)
#024387
Tritanopia (blue-blind)
#643351
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #681689;
/* rgb */ color: rgb(104, 22, 137);
/* oklch */ color: oklch(40.0% 0.178 313.4);
Tailwind
colors: {
  custom: {
    50: '#985fac',
    500: '#681689',
    950: '#000000',
  },
}
SCSS
$custom: #681689;
$custom-light: #985fac;
$custom-dark: #000000;
JSON
{
  "hex": "#681689",
  "rgb": {
    "r": 104,
    "g": 22,
    "b": 137
  },
  "hsl": {
    "h": 282.783,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39972,
    "c": 0.17836,
    "h": 313.4
  },
  "luminance": 0.05323
}

Semantic roles & 50–950 ramp

primary
#681689
secondary
#62BD3E
accent
#EF396D
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #681689

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

Preview Lab → · Contrast checker → · Palette generator →

#681689 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva