#682986#682986

#682986 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.6% C 0.154 H 312.8°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#682986
RGBrgb(104, 41, 134)
HSLhsl(281, 53%, 34%)
HSVhsv(281, 69%, 53%)
CMYKcmyk(22.4%, 69.4%, 0%, 47.5%)
CIE-LABlab(30.04, 43.78, -40.06)
CIE-LCHlch(30.04, 59.34, 317.54°)
OKLaboklab(41.6% 0.1045 -0.1129)
OKLCHoklch(41.6% 0.154 312.8)
XYZxyz(10.8042, 6.2505, 23.1870)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682986 #478629
analogous
#3A2986 #682986 #862976
triadic
#682986 #866829 #298668
tetradic
#682986 #863A29 #478629 #297686
square
#682986 #863A29 #478629 #297686
split-complementary
#682986 #768629 #29863A
monochromatic
#1F0C28 #441B57 #682986 #8C37B5 #A95CCD

Accessibility & contrast

On white

9.33
#682986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#682986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682986
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682986#FFFFFF#000000##FFFFFF
##6829861.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004389
Deuteranopia (green-blind)
#214884
Tritanopia (blue-blind)
#653C54
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #682986;
/* rgb */ color: rgb(104, 41, 134);
/* oklch */ color: oklch(41.6% 0.154 312.8);
Tailwind
colors: {
  custom: {
    50: '#9668aa',
    500: '#682986',
    950: '#000000',
  },
}
SCSS
$custom: #682986;
$custom-light: #9668aa;
$custom-dark: #000000;
JSON
{
  "hex": "#682986",
  "rgb": {
    "r": 104,
    "g": 41,
    "b": 134
  },
  "hsl": {
    "h": 280.645,
    "s": 53.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41601,
    "c": 0.15388,
    "h": 312.8
  },
  "luminance": 0.0625
}

Semantic roles & 50–950 ramp

primary
#682986
secondary
#75B358
accent
#DD4B7A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #682986

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

Preview Lab → · Contrast checker → · Palette generator →

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