#682387#682387

#682387 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.0% C 0.163 H 313.1°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#682387
RGBrgb(104, 35, 135)
HSLhsl(281, 59%, 33%)
HSVhsv(281, 74%, 53%)
CMYKcmyk(23%, 74.1%, 0%, 47.1%)
CIE-LABlab(29.15, 46.70, -42.12)
CIE-LCHlch(29.15, 62.89, 317.95°)
OKLaboklab(40.99% 0.1111 -0.1189)
OKLCHoklch(40.99% 0.163 313.1)
XYZxyz(10.6824, 5.8947, 23.4920)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682387 #428723
analogous
#362387 #682387 #872374
triadic
#682387 #876823 #238768
tetradic
#682387 #873623 #428723 #237487
square
#682387 #873623 #428723 #237487
split-complementary
#682387 #748723 #238736
monochromatic
#1D0A26 #431656 #682387 #8D30B8 #AB52D2

Accessibility & contrast

On white

9.64
#682387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#682387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682387
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682387#FFFFFF#000000##FFFFFF
##6823871.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418A
Deuteranopia (green-blind)
#1A4685
Tritanopia (blue-blind)
#653953
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #682387;
/* rgb */ color: rgb(104, 35, 135);
/* oklch */ color: oklch(41.0% 0.163 313.1);
Tailwind
colors: {
  custom: {
    50: '#9765ab',
    500: '#682387',
    950: '#000000',
  },
}
SCSS
$custom: #682387;
$custom-light: #9765ab;
$custom-dark: #000000;
JSON
{
  "hex": "#682387",
  "rgb": {
    "r": 104,
    "g": 35,
    "b": 135
  },
  "hsl": {
    "h": 281.4,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.40988,
    "c": 0.16276,
    "h": 313.1
  },
  "luminance": 0.05894
}

Semantic roles & 50–950 ramp

primary
#682387
secondary
#6FB650
accent
#E24676
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #682387

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

Preview Lab → · Contrast checker → · Palette generator →

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