#681281#681281

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

Color values

HEX#681281
RGBrgb(104, 18, 129)
HSLhsl(286, 76%, 29%)
HSVhsv(286, 86%, 51%)
CMYKcmyk(19.4%, 86%, 0%, 49.4%)
CIE-LABlab(26.62, 51.43, -42.43)
CIE-LCHlch(26.62, 66.67, 320.47°)
OKLaboklab(39.07% 0.1272 -0.1197)
OKLCHoklch(39.07% 0.175 316.7)
XYZxyz(9.8871, 4.9611, 21.2014)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681281 #2B8112
analogous
#301281 #681281 #811263
triadic
#681281 #816812 #128168
tetradic
#681281 #813012 #2B8112 #126381
square
#681281 #813012 #2B8112 #126381
split-complementary
#681281 #638112 #128130
monochromatic
#16041B #3D0B4B #681281 #9319B7 #B92CE2

Accessibility & contrast

On white

10.54
#681281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#681281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681281
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681281#FFFFFF#000000##FFFFFF
##6812811.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #681281;
/* rgb */ color: rgb(104, 18, 129);
/* oklch */ color: oklch(39.1% 0.175 316.7);
Tailwind
colors: {
  custom: {
    50: '#975ea6',
    500: '#681281',
    950: '#000000',
  },
}
SCSS
$custom: #681281;
$custom-light: #975ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#681281",
  "rgb": {
    "r": 104,
    "g": 18,
    "b": 129
  },
  "hsl": {
    "h": 286.486,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39069,
    "c": 0.17466,
    "h": 316.7
  },
  "luminance": 0.04961
}

Semantic roles & 50–950 ramp

primary
#681281
secondary
#55B738
accent
#F23660
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #681281

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

Preview Lab → · Contrast checker → · Palette generator →

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