#682486#682486

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

Color values

HEX#682486
RGBrgb(104, 36, 134)
HSLhsl(282, 58%, 33%)
HSVhsv(282, 73%, 53%)
CMYKcmyk(22.4%, 73.1%, 0%, 47.5%)
CIE-LABlab(29.23, 46.05, -41.36)
CIE-LCHlch(29.23, 61.90, 318.07°)
OKLaboklab(41.02% 0.1102 -0.1167)
OKLCHoklch(41.02% 0.161 313.3)
XYZxyz(10.6421, 5.9264, 23.1329)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682486 #428624
analogous
#372486 #682486 #862473
triadic
#682486 #866824 #248668
tetradic
#682486 #863724 #428624 #247386
square
#682486 #863724 #428624 #247386
split-complementary
#682486 #738624 #248637
monochromatic
#1D0A26 #431756 #682486 #8D31B6 #AB53D1

Accessibility & contrast

On white

9.61
#682486 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#682486 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682486
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682486#FFFFFF#000000##FFFFFF
##6824861.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004189
Deuteranopia (green-blind)
#1C4684
Tritanopia (blue-blind)
#653952
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #682486;
/* rgb */ color: rgb(104, 36, 134);
/* oklch */ color: oklch(41.0% 0.161 313.3);
Tailwind
colors: {
  custom: {
    50: '#9765aa',
    500: '#682486',
    950: '#000000',
  },
}
SCSS
$custom: #682486;
$custom-light: #9765aa;
$custom-dark: #000000;
JSON
{
  "hex": "#682486",
  "rgb": {
    "r": 104,
    "g": 36,
    "b": 134
  },
  "hsl": {
    "h": 281.633,
    "s": 57.647,
    "l": 33.333
  },
  "oklch": {
    "l": 0.41022,
    "c": 0.16051,
    "h": 313.3
  },
  "luminance": 0.05926
}

Semantic roles & 50–950 ramp

primary
#682486
secondary
#6FB551
accent
#E14776
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #682486

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

Preview Lab → · Contrast checker → · Palette generator →

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