#681880#681880

#681880 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.4% C 0.168 H 316.8°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#681880
RGBrgb(104, 24, 128)
HSLhsl(286, 68%, 30%)
HSVhsv(286, 81%, 50%)
CMYKcmyk(18.8%, 81.3%, 0%, 49.8%)
CIE-LABlab(27.17, 49.41, -40.92)
CIE-LCHlch(27.17, 64.15, 320.37°)
OKLaboklab(39.43% 0.1227 -0.1153)
OKLCHoklch(39.43% 0.168 316.8)
XYZxyz(9.9312, 5.1553, 20.8898)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681880 #308018
analogous
#341880 #681880 #801864
triadic
#681880 #806818 #188068
tetradic
#681880 #803418 #308018 #186480
square
#681880 #803418 #308018 #186480
split-complementary
#681880 #648018 #188034
monochromatic
#15051A #3E0E4C #681880 #9222B4 #B539DA

Accessibility & contrast

On white

10.34
#681880 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#681880 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681880
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681880#FFFFFF#000000##FFFFFF
##6818801.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #681880;
/* rgb */ color: rgb(104, 24, 128);
/* oklch */ color: oklch(39.4% 0.168 316.8);
Tailwind
colors: {
  custom: {
    50: '#9760a5',
    500: '#681880',
    950: '#000000',
  },
}
SCSS
$custom: #681880;
$custom-light: #9760a5;
$custom-dark: #000000;
JSON
{
  "hex": "#681880",
  "rgb": {
    "r": 104,
    "g": 24,
    "b": 128
  },
  "hsl": {
    "h": 286.154,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39431,
    "c": 0.16841,
    "h": 316.8
  },
  "luminance": 0.05155
}

Semantic roles & 50–950 ramp

primary
#681880
secondary
#5AB440
accent
#EB3D65
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #681880

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

Preview Lab → · Contrast checker → · Palette generator →

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