#682173#682173

#682173 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.4% C 0.146 H 322.0°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#682173
RGBrgb(104, 33, 115)
HSLhsl(292, 55%, 29%)
HSVhsv(292, 71%, 45%)
CMYKcmyk(9.6%, 71.3%, 0%, 54.9%)
CIE-LABlab(27.49, 43.34, -32.17)
CIE-LCHlch(27.49, 53.97, 323.42°)
OKLaboklab(39.37% 0.115 -0.0898)
OKLCHoklch(39.37% 0.146 322)
XYZxyz(9.3470, 5.2691, 16.7410)
Luminance0.0527 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682173 #2C7321
analogous
#3F2173 #682173 #732155
triadic
#682173 #736821 #217368
tetradic
#682173 #733F21 #2C7321 #215573
square
#682173 #733F21 #2C7321 #215573
split-complementary
#682173 #557321 #21733F
monochromatic
#160718 #3D1343 #682173 #932FA3 #B845CA

Accessibility & contrast

On white

10.22
#682173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#682173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682173
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682173#FFFFFF#000000##FFFFFF
##6821731.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063C75
Deuteranopia (green-blind)
#2C4471
Tritanopia (blue-blind)
#692F47
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #682173;
/* rgb */ color: rgb(104, 33, 115);
/* oklch */ color: oklch(39.4% 0.146 322.0);
Tailwind
colors: {
  custom: {
    50: '#96639c',
    500: '#682173',
    950: '#000000',
  },
}
SCSS
$custom: #682173;
$custom-light: #96639c;
$custom-dark: #000000;
JSON
{
  "hex": "#682173",
  "rgb": {
    "r": 104,
    "g": 33,
    "b": 115
  },
  "hsl": {
    "h": 291.951,
    "s": 55.405,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39371,
    "c": 0.14587,
    "h": 322
  },
  "luminance": 0.05269
}

Semantic roles & 50–950 ramp

primary
#682173
secondary
#56A649
accent
#DF495D
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #682173

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

Preview Lab → · Contrast checker → · Palette generator →

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