#682086#682086

#682086 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.6% C 0.165 H 313.7°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#682086
RGBrgb(104, 32, 134)
HSLhsl(282, 61%, 33%)
HSVhsv(282, 76%, 53%)
CMYKcmyk(22.4%, 76.1%, 0%, 47.5%)
CIE-LABlab(28.64, 47.73, -42.31)
CIE-LCHlch(28.64, 63.78, 318.44°)
OKLaboklab(40.6% 0.1143 -0.1195)
OKLCHoklch(40.6% 0.165 313.7)
XYZxyz(10.5278, 5.6977, 23.0948)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682086 #3E8620
analogous
#352086 #682086 #862071
triadic
#682086 #866820 #208668
tetradic
#682086 #863520 #3E8620 #207186
square
#682086 #863520 #3E8620 #207186
split-complementary
#682086 #718620 #208635
monochromatic
#1B0823 #421455 #682086 #8E2CB7 #AC4CD4

Accessibility & contrast

On white

9.82
#682086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#682086 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682086
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682086#FFFFFF#000000##FFFFFF
##6820861.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004089
Deuteranopia (green-blind)
#184584
Tritanopia (blue-blind)
#653751
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #682086;
/* rgb */ color: rgb(104, 32, 134);
/* oklch */ color: oklch(40.6% 0.165 313.7);
Tailwind
colors: {
  custom: {
    50: '#9763aa',
    500: '#682086',
    950: '#000000',
  },
}
SCSS
$custom: #682086;
$custom-light: #9763aa;
$custom-dark: #000000;
JSON
{
  "hex": "#682086",
  "rgb": {
    "r": 104,
    "g": 32,
    "b": 134
  },
  "hsl": {
    "h": 282.353,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.40604,
    "c": 0.16538,
    "h": 313.7
  },
  "luminance": 0.05697
}

Semantic roles & 50–950 ramp

primary
#682086
secondary
#6BB74B
accent
#E54373
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #682086

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

Preview Lab → · Contrast checker → · Palette generator →

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