#681882#681882

#681882 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.6% C 0.170 H 316.0°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#681882
RGBrgb(104, 24, 130)
HSLhsl(285, 69%, 30%)
HSVhsv(285, 82%, 51%)
CMYKcmyk(20%, 81.5%, 0%, 49%)
CIE-LABlab(27.32, 49.82, -41.94)
CIE-LCHlch(27.32, 65.12, 319.91°)
OKLaboklab(39.58% 0.1224 -0.1183)
OKLCHoklch(39.58% 0.17 316)
XYZxyz(10.0642, 5.2084, 21.5900)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681882 #328218
analogous
#331882 #681882 #821867
triadic
#681882 #826818 #188268
tetradic
#681882 #823318 #328218 #186782
square
#681882 #823318 #328218 #186782
split-complementary
#681882 #678218 #188233
monochromatic
#15051B #3F0E4E #681882 #9122B6 #B33ADB

Accessibility & contrast

On white

10.29
#681882 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#681882 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681882
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681882#FFFFFF#000000##FFFFFF
##6818821.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C85
Deuteranopia (green-blind)
#164380
Tritanopia (blue-blind)
#66314D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #681882;
/* rgb */ color: rgb(104, 24, 130);
/* oklch */ color: oklch(39.6% 0.170 316.0);
Tailwind
colors: {
  custom: {
    50: '#9760a7',
    500: '#681882',
    950: '#000000',
  },
}
SCSS
$custom: #681882;
$custom-light: #9760a7;
$custom-dark: #000000;
JSON
{
  "hex": "#681882",
  "rgb": {
    "r": 104,
    "g": 24,
    "b": 130
  },
  "hsl": {
    "h": 285.283,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39582,
    "c": 0.17022,
    "h": 316
  },
  "luminance": 0.05208
}

Semantic roles & 50–950 ramp

primary
#681882
secondary
#5DB640
accent
#EC3C67
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #681882

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

Preview Lab → · Contrast checker → · Palette generator →

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