#681580#681580

#681580 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 39.2% C 0.171 H 317.0°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#681580
RGBrgb(104, 21, 128)
HSLhsl(287, 72%, 29%)
HSVhsv(287, 84%, 50%)
CMYKcmyk(18.8%, 83.6%, 0%, 49.8%)
CIE-LABlab(26.84, 50.37, -41.45)
CIE-LCHlch(26.84, 65.23, 320.55°)
OKLaboklab(39.2% 0.1252 -0.1169)
OKLCHoklch(39.2% 0.171 317)
XYZxyz(9.8728, 5.0383, 20.8703)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681580 #2D8015
analogous
#331580 #681580 #801563
triadic
#681580 #806815 #158068
tetradic
#681580 #803315 #2D8015 #156380
square
#681580 #803315 #2D8015 #156380
split-complementary
#681580 #638015 #158033
monochromatic
#15041A #3D0C4B #681580 #931EB5 #B732DD

Accessibility & contrast

On white

10.46
#681580 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #681580
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681580#FFFFFF#000000##FFFFFF
##6815801.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B83
Deuteranopia (green-blind)
#16427E
Tritanopia (blue-blind)
#672F4C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #681580;
/* rgb */ color: rgb(104, 21, 128);
/* oklch */ color: oklch(39.2% 0.171 317.0);
Tailwind
colors: {
  custom: {
    50: '#975fa5',
    500: '#681580',
    950: '#000000',
  },
}
SCSS
$custom: #681580;
$custom-light: #975fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#681580",
  "rgb": {
    "r": 104,
    "g": 21,
    "b": 128
  },
  "hsl": {
    "h": 286.542,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39199,
    "c": 0.17124,
    "h": 317
  },
  "luminance": 0.05038
}

Semantic roles & 50–950 ramp

primary
#681580
secondary
#57B53C
accent
#EF3962
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #681580

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

Preview Lab → · Contrast checker → · Palette generator →

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