#682082#682082

#682082 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.3% C 0.162 H 315.4°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#682082
RGBrgb(104, 32, 130)
HSLhsl(284, 60%, 32%)
HSVhsv(284, 75%, 51%)
CMYKcmyk(20%, 75.4%, 0%, 49%)
CIE-LABlab(28.35, 46.87, -40.28)
CIE-LCHlch(28.35, 61.79, 319.32°)
OKLaboklab(40.31% 0.1149 -0.1135)
OKLCHoklch(40.31% 0.162 315.4)
XYZxyz(10.2540, 5.5882, 21.6532)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682082 #3A8220
analogous
#372082 #682082 #82206B
triadic
#682082 #826820 #208268
tetradic
#682082 #823720 #3A8220 #206B82
square
#682082 #823720 #3A8220 #206B82
split-complementary
#682082 #6B8220 #208237
monochromatic
#190820 #411451 #682082 #8F2CB3 #AE4AD2

Accessibility & contrast

On white

9.92
#682082 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#682082 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682082
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682082#FFFFFF#000000##FFFFFF
##6820821.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F85
Deuteranopia (green-blind)
#1D4580
Tritanopia (blue-blind)
#66354F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #682082;
/* rgb */ color: rgb(104, 32, 130);
/* oklch */ color: oklch(40.3% 0.162 315.4);
Tailwind
colors: {
  custom: {
    50: '#9763a7',
    500: '#682082',
    950: '#000000',
  },
}
SCSS
$custom: #682082;
$custom-light: #9763a7;
$custom-dark: #000000;
JSON
{
  "hex": "#682082",
  "rgb": {
    "r": 104,
    "g": 32,
    "b": 130
  },
  "hsl": {
    "h": 284.082,
    "s": 60.494,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40308,
    "c": 0.16151,
    "h": 315.4
  },
  "luminance": 0.05588
}

Semantic roles & 50–950 ramp

primary
#682082
secondary
#66B549
accent
#E4446E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #682082

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

Preview Lab → · Contrast checker → · Palette generator →

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