#681980#681980

#681980 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.5% C 0.167 H 316.7°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#681980
RGBrgb(104, 25, 128)
HSLhsl(286, 67%, 30%)
HSVhsv(286, 80%, 50%)
CMYKcmyk(18.8%, 80.5%, 0%, 49.8%)
CIE-LABlab(27.29, 49.07, -40.73)
CIE-LCHlch(27.29, 63.77, 320.31°)
OKLaboklab(39.51% 0.1219 -0.1148)
OKLCHoklch(39.51% 0.167 316.7)
XYZxyz(9.9522, 5.1973, 20.8968)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681980 #318019
analogous
#341980 #681980 #801965
triadic
#681980 #806819 #198068
tetradic
#681980 #803419 #318019 #196580
square
#681980 #803419 #318019 #196580
split-complementary
#681980 #658019 #198034
monochromatic
#15051A #3E0F4D #681980 #9223B3 #B43BD9

Accessibility & contrast

On white

10.30
#681980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#681980 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681980
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681980#FFFFFF#000000##FFFFFF
##6819801.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C83
Deuteranopia (green-blind)
#19437E
Tritanopia (blue-blind)
#67304C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #681980;
/* rgb */ color: rgb(104, 25, 128);
/* oklch */ color: oklch(39.5% 0.167 316.7);
Tailwind
colors: {
  custom: {
    50: '#9760a5',
    500: '#681980',
    950: '#000000',
  },
}
SCSS
$custom: #681980;
$custom-light: #9760a5;
$custom-dark: #000000;
JSON
{
  "hex": "#681980",
  "rgb": {
    "r": 104,
    "g": 25,
    "b": 128
  },
  "hsl": {
    "h": 286.019,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.39513,
    "c": 0.16741,
    "h": 316.7
  },
  "luminance": 0.05197
}

Semantic roles & 50–950 ramp

primary
#681980
secondary
#5CB441
accent
#EA3E66
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #681980

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

Preview Lab → · Contrast checker → · Palette generator →

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