#681381#681381

#681381 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 39.1% C 0.174 H 316.7°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#681381
RGBrgb(104, 19, 129)
HSLhsl(286, 74%, 29%)
HSVhsv(286, 85%, 51%)
CMYKcmyk(19.4%, 85.3%, 0%, 49.4%)
CIE-LABlab(26.72, 51.15, -42.28)
CIE-LCHlch(26.72, 66.36, 320.42°)
OKLaboklab(39.14% 0.1265 -0.1193)
OKLCHoklch(39.14% 0.174 316.7)
XYZxyz(9.9036, 4.9942, 21.2069)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681381 #2C8113
analogous
#311381 #681381 #811363
triadic
#681381 #816813 #138168
tetradic
#681381 #813113 #2C8113 #136381
square
#681381 #813113 #2C8113 #136381
split-complementary
#681381 #638113 #138131
monochromatic
#16041B #3D0B4C #681381 #931BB6 #B82EE0

Accessibility & contrast

On white

10.51
#681381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#681381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681381
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681381#FFFFFF#000000##FFFFFF
##6813811.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A84
Deuteranopia (green-blind)
#13417F
Tritanopia (blue-blind)
#662E4C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #681381;
/* rgb */ color: rgb(104, 19, 129);
/* oklch */ color: oklch(39.1% 0.174 316.7);
Tailwind
colors: {
  custom: {
    50: '#975ea6',
    500: '#681381',
    950: '#000000',
  },
}
SCSS
$custom: #681381;
$custom-light: #975ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#681381",
  "rgb": {
    "r": 104,
    "g": 19,
    "b": 129
  },
  "hsl": {
    "h": 286.364,
    "s": 74.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39135,
    "c": 0.17385,
    "h": 316.7
  },
  "luminance": 0.04994
}

Semantic roles & 50–950 ramp

primary
#681381
secondary
#56B63A
accent
#F13761
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #681381

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

Preview Lab → · Contrast checker → · Palette generator →

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