#682A80#682A80

#682A80 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.3% C 0.146 H 315.2°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#682A80
RGBrgb(104, 42, 128)
HSLhsl(283, 51%, 33%)
HSVhsv(283, 67%, 50%)
CMYKcmyk(18.8%, 67.2%, 0%, 49.8%)
CIE-LABlab(29.81, 41.95, -36.68)
CIE-LCHlch(29.81, 55.73, 318.84°)
OKLaboklab(41.31% 0.1037 -0.103)
OKLCHoklch(41.31% 0.146 315.2)
XYZxyz(10.4325, 6.1579, 21.0569)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682A80 #42802A
analogous
#3D2A80 #682A80 #802A6D
triadic
#682A80 #80682A #2A8068
tetradic
#682A80 #803D2A #42802A #2A6D80
square
#682A80 #803D2A #42802A #2A6D80
split-complementary
#682A80 #6D802A #2A803D
monochromatic
#1D0C24 #431B52 #682A80 #8D39AE #AB5BC9

Accessibility & contrast

On white

9.41
#682A80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#682A80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682A80
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682A80#FFFFFF#000000##FFFFFF
##682A801.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044383
Deuteranopia (green-blind)
#28487E
Tritanopia (blue-blind)
#663A51
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #682a80;
/* rgb */ color: rgb(104, 42, 128);
/* oklch */ color: oklch(41.3% 0.146 315.2);
Tailwind
colors: {
  custom: {
    50: '#9668a5',
    500: '#682a80',
    950: '#000000',
  },
}
SCSS
$custom: #682a80;
$custom-light: #9668a5;
$custom-dark: #000000;
JSON
{
  "hex": "#682a80",
  "rgb": {
    "r": 104,
    "g": 42,
    "b": 128
  },
  "hsl": {
    "h": 283.256,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.41308,
    "c": 0.14615,
    "h": 315.2
  },
  "luminance": 0.06157
}

Semantic roles & 50–950 ramp

primary
#682A80
secondary
#6FAF57
accent
#DA4E75
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #682A80

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

Preview Lab → · Contrast checker → · Palette generator →

#682A80 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva