#682084#682084

#682084 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.5% C 0.163 H 314.5°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#682084
RGBrgb(104, 32, 132)
HSLhsl(283, 61%, 32%)
HSVhsv(283, 76%, 52%)
CMYKcmyk(21.2%, 75.8%, 0%, 48.2%)
CIE-LABlab(28.49, 47.29, -41.30)
CIE-LCHlch(28.49, 62.79, 318.87°)
OKLaboklab(40.46% 0.1146 -0.1165)
OKLCHoklch(40.46% 0.163 314.5)
XYZxyz(10.3896, 5.6424, 22.3671)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682084 #3C8420
analogous
#362084 #682084 #84206E
triadic
#682084 #846820 #208468
tetradic
#682084 #843620 #3C8420 #206E84
square
#682084 #843620 #3C8420 #206E84
split-complementary
#682084 #6E8420 #208436
monochromatic
#1A0821 #411453 #682084 #8F2CB5 #AD4BD3

Accessibility & contrast

On white

9.87
#682084 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#682084 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682084
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682084#FFFFFF#000000##FFFFFF
##6820841.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F87
Deuteranopia (green-blind)
#1B4582
Tritanopia (blue-blind)
#653650
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #682084;
/* rgb */ color: rgb(104, 32, 132);
/* oklch */ color: oklch(40.5% 0.163 314.5);
Tailwind
colors: {
  custom: {
    50: '#9763a8',
    500: '#682084',
    950: '#000000',
  },
}
SCSS
$custom: #682084;
$custom-light: #9763a8;
$custom-dark: #000000;
JSON
{
  "hex": "#682084",
  "rgb": {
    "r": 104,
    "g": 32,
    "b": 132
  },
  "hsl": {
    "h": 283.2,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40455,
    "c": 0.16345,
    "h": 314.5
  },
  "luminance": 0.05642
}

Semantic roles & 50–950 ramp

primary
#682084
secondary
#68B64A
accent
#E44471
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #682084

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

Preview Lab → · Contrast checker → · Palette generator →

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