#681581#681581

#681581 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.3% C 0.172 H 316.6°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#681581
RGBrgb(104, 21, 129)
HSLhsl(286, 72%, 29%)
HSVhsv(286, 84%, 51%)
CMYKcmyk(19.4%, 83.7%, 0%, 49.4%)
CIE-LABlab(26.92, 50.57, -41.96)
CIE-LCHlch(26.92, 65.71, 320.32°)
OKLaboklab(39.28% 0.125 -0.1183)
OKLCHoklch(39.28% 0.172 316.6)
XYZxyz(9.9389, 5.0648, 21.2187)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681581 #2E8115
analogous
#321581 #681581 #811564
triadic
#681581 #816815 #158168
tetradic
#681581 #813215 #2E8115 #156481
square
#681581 #813215 #2E8115 #156481
split-complementary
#681581 #648115 #158132
monochromatic
#15041A #3E0C4C #681581 #921EB6 #B633DE

Accessibility & contrast

On white

10.43
#681581 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#681581 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681581
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681581#FFFFFF#000000##FFFFFF
##6815811.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B84
Deuteranopia (green-blind)
#15427F
Tritanopia (blue-blind)
#662F4C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #681581;
/* rgb */ color: rgb(104, 21, 129);
/* oklch */ color: oklch(39.3% 0.172 316.6);
Tailwind
colors: {
  custom: {
    50: '#975fa6',
    500: '#681581',
    950: '#000000',
  },
}
SCSS
$custom: #681581;
$custom-light: #975fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#681581",
  "rgb": {
    "r": 104,
    "g": 21,
    "b": 129
  },
  "hsl": {
    "h": 286.111,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39276,
    "c": 0.17212,
    "h": 316.6
  },
  "luminance": 0.05064
}

Semantic roles & 50–950 ramp

primary
#681581
secondary
#58B63C
accent
#EF3963
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #681581

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

Preview Lab → · Contrast checker → · Palette generator →

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