#682080#682080

#682080 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.2% C 0.160 H 316.2°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#682080
RGBrgb(104, 32, 128)
HSLhsl(285, 60%, 31%)
HSVhsv(285, 75%, 50%)
CMYKcmyk(18.8%, 75%, 0%, 49.8%)
CIE-LABlab(28.21, 46.44, -39.25)
CIE-LCHlch(28.21, 60.80, 319.80°)
OKLaboklab(40.16% 0.1152 -0.1105)
OKLCHoklch(40.16% 0.16 316.2)
XYZxyz(10.1211, 5.5350, 20.9531)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682080 #388020
analogous
#382080 #682080 #802068
triadic
#682080 #806820 #208068
tetradic
#682080 #803820 #388020 #206880
square
#682080 #803820 #388020 #206880
split-complementary
#682080 #688020 #208038
monochromatic
#18081E #40144F #682080 #902CB1 #AF49D1

Accessibility & contrast

On white

9.97
#682080 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#682080 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682080
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682080#FFFFFF#000000##FFFFFF
##6820801.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E83
Deuteranopia (green-blind)
#20457E
Tritanopia (blue-blind)
#66344E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #682080;
/* rgb */ color: rgb(104, 32, 128);
/* oklch */ color: oklch(40.2% 0.160 316.2);
Tailwind
colors: {
  custom: {
    50: '#9763a5',
    500: '#682080',
    950: '#000000',
  },
}
SCSS
$custom: #682080;
$custom-light: #9763a5;
$custom-dark: #000000;
JSON
{
  "hex": "#682080",
  "rgb": {
    "r": 104,
    "g": 32,
    "b": 128
  },
  "hsl": {
    "h": 285,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40163,
    "c": 0.15958,
    "h": 316.2
  },
  "luminance": 0.05535
}

Semantic roles & 50–950 ramp

primary
#682080
secondary
#63B349
accent
#E3456C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #682080

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

Preview Lab → · Contrast checker → · Palette generator →

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