#681789#681789

#681789 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.0% C 0.177 H 313.3°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#681789
RGBrgb(104, 23, 137)
HSLhsl(283, 71%, 31%)
HSVhsv(283, 83%, 54%)
CMYKcmyk(24.1%, 83.2%, 0%, 46.3%)
CIE-LABlab(27.74, 51.59, -45.63)
CIE-LCHlch(27.74, 68.88, 318.51°)
OKLaboklab(40.05% 0.1217 -0.1292)
OKLCHoklch(40.05% 0.177 313.3)
XYZxyz(10.5299, 5.3623, 24.1424)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681789 #388917
analogous
#2F1789 #681789 #891771
triadic
#681789 #896817 #178968
tetradic
#681789 #892F17 #388917 #177189
square
#681789 #892F17 #388917 #177189
split-complementary
#681789 #718917 #17892F
monochromatic
#180520 #400E55 #681789 #9020BD #AF3CDE

Accessibility & contrast

On white

10.13
#681789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#681789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681789
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681789#FFFFFF#000000##FFFFFF
##6817891.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #681789;
/* rgb */ color: rgb(104, 23, 137);
/* oklch */ color: oklch(40.0% 0.177 313.3);
Tailwind
colors: {
  custom: {
    50: '#9760ac',
    500: '#681789',
    950: '#000000',
  },
}
SCSS
$custom: #681789;
$custom-light: #9760ac;
$custom-dark: #000000;
JSON
{
  "hex": "#681789",
  "rgb": {
    "r": 104,
    "g": 23,
    "b": 137
  },
  "hsl": {
    "h": 282.632,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40046,
    "c": 0.17748,
    "h": 313.3
  },
  "luminance": 0.05362
}

Semantic roles & 50–950 ramp

primary
#681789
secondary
#63BD3F
accent
#EE3A6E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #681789

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

Preview Lab → · Contrast checker → · Palette generator →

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