#681989#681989

#681989 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.2% C 0.176 H 313.2°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#681989
RGBrgb(104, 25, 137)
HSLhsl(282, 69%, 32%)
HSVhsv(282, 82%, 54%)
CMYKcmyk(24.1%, 81.8%, 0%, 46.3%)
CIE-LABlab(27.97, 50.94, -45.27)
CIE-LCHlch(27.97, 68.15, 318.37°)
OKLaboklab(40.2% 0.1201 -0.1281)
OKLCHoklch(40.2% 0.176 313.2)
XYZxyz(10.5711, 5.4448, 24.1562)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681989 #3A8919
analogous
#301989 #681989 #891972
triadic
#681989 #896819 #198968
tetradic
#681989 #893019 #3A8919 #197289
square
#681989 #893019 #3A8919 #197289
split-complementary
#681989 #728919 #198930
monochromatic
#190621 #411055 #681989 #8F22BD #AE40DC

Accessibility & contrast

On white

10.05
#681989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#681989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681989
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681989#FFFFFF#000000##FFFFFF
##6819891.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8C
Deuteranopia (green-blind)
#074487
Tritanopia (blue-blind)
#643552
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #681989;
/* rgb */ color: rgb(104, 25, 137);
/* oklch */ color: oklch(40.2% 0.176 313.2);
Tailwind
colors: {
  custom: {
    50: '#9761ac',
    500: '#681989',
    950: '#000000',
  },
}
SCSS
$custom: #681989;
$custom-light: #9761ac;
$custom-dark: #000000;
JSON
{
  "hex": "#681989",
  "rgb": {
    "r": 104,
    "g": 25,
    "b": 137
  },
  "hsl": {
    "h": 282.321,
    "s": 69.136,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40202,
    "c": 0.17563,
    "h": 313.2
  },
  "luminance": 0.05444
}

Semantic roles & 50–950 ramp

primary
#681989
secondary
#66BC41
accent
#EC3C70
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #681989

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

Preview Lab → · Contrast checker → · Palette generator →

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