#682873#682873

#682873 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.2% C 0.136 H 321.5°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#682873
RGBrgb(104, 40, 115)
HSLhsl(291, 48%, 30%)
HSVhsv(291, 65%, 45%)
CMYKcmyk(9.6%, 65.2%, 0%, 54.9%)
CIE-LABlab(28.64, 40.13, -30.33)
CIE-LCHlch(28.64, 50.30, 322.92°)
OKLaboklab(40.2% 0.1063 -0.0845)
OKLCHoklch(40.2% 0.136 321.5)
XYZxyz(9.5619, 5.6989, 16.8127)
Luminance0.0570 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682873 #337328
analogous
#422873 #682873 #732858
triadic
#682873 #736828 #287368
tetradic
#682873 #734228 #337328 #285873
square
#682873 #734228 #337328 #285873
split-complementary
#682873 #587328 #287342
monochromatic
#160818 #3F1846 #682873 #9138A0 #B252C3

Accessibility & contrast

On white

9.81
#682873 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#682873 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682873
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682873#FFFFFF#000000##FFFFFF
##6828731.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173F75
Deuteranopia (green-blind)
#304671
Tritanopia (blue-blind)
#693449
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #682873;
/* rgb */ color: rgb(104, 40, 115);
/* oklch */ color: oklch(40.2% 0.136 321.5);
Tailwind
colors: {
  custom: {
    50: '#96679c',
    500: '#682873',
    950: '#000000',
  },
}
SCSS
$custom: #682873;
$custom-light: #96679c;
$custom-dark: #000000;
JSON
{
  "hex": "#682873",
  "rgb": {
    "r": 104,
    "g": 40,
    "b": 115
  },
  "hsl": {
    "h": 291.2,
    "s": 48.387,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40202,
    "c": 0.13577,
    "h": 321.5
  },
  "luminance": 0.05698
}

Semantic roles & 50–950 ramp

primary
#682873
secondary
#5EA552
accent
#D85064
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #682873

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

Preview Lab → · Contrast checker → · Palette generator →

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