#681982#681982

#681982 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.7% C 0.169 H 315.9°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#681982
RGBrgb(104, 25, 130)
HSLhsl(285, 68%, 30%)
HSVhsv(285, 81%, 51%)
CMYKcmyk(20%, 80.8%, 0%, 49%)
CIE-LABlab(27.44, 49.48, -41.75)
CIE-LCHlch(27.44, 64.74, 319.85°)
OKLaboklab(39.66% 0.1215 -0.1178)
OKLCHoklch(39.66% 0.169 315.9)
XYZxyz(10.0852, 5.2504, 21.5970)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681982 #338219
analogous
#331982 #681982 #821967
triadic
#681982 #826819 #198268
tetradic
#681982 #823319 #338219 #196782
square
#681982 #823319 #338219 #196782
split-complementary
#681982 #678219 #198233
monochromatic
#16051B #3F0F4F #681982 #9123B5 #B23CD9

Accessibility & contrast

On white

10.24
#681982 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#681982 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681982
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681982#FFFFFF#000000##FFFFFF
##6819821.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #681982;
/* rgb */ color: rgb(104, 25, 130);
/* oklch */ color: oklch(39.7% 0.169 315.9);
Tailwind
colors: {
  custom: {
    50: '#9760a7',
    500: '#681982',
    950: '#000000',
  },
}
SCSS
$custom: #681982;
$custom-light: #9760a7;
$custom-dark: #000000;
JSON
{
  "hex": "#681982",
  "rgb": {
    "r": 104,
    "g": 25,
    "b": 130
  },
  "hsl": {
    "h": 285.143,
    "s": 67.742,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39663,
    "c": 0.16923,
    "h": 315.9
  },
  "luminance": 0.0525
}

Semantic roles & 50–950 ramp

primary
#681982
secondary
#5EB641
accent
#EB3D68
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #681982

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

Preview Lab → · Contrast checker → · Palette generator →

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