#682072#682072

#682072 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.2% C 0.146 H 322.6°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#682072
RGBrgb(104, 32, 114)
HSLhsl(293, 56%, 29%)
HSVhsv(293, 72%, 45%)
CMYKcmyk(8.8%, 71.9%, 0%, 55.3%)
CIE-LABlab(27.27, 43.57, -31.87)
CIE-LCHlch(27.27, 53.98, 323.81°)
OKLaboklab(39.2% 0.1162 -0.0889)
OKLCHoklch(39.2% 0.146 322.6)
XYZxyz(9.2624, 5.1915, 16.4305)
Luminance0.0519 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682072 #2A7220
analogous
#3F2072 #682072 #722053
triadic
#682072 #726820 #207268
tetradic
#682072 #723F20 #2A7220 #205372
square
#682072 #723F20 #2A7220 #205372
split-complementary
#682072 #537220 #20723F
monochromatic
#160718 #3C1342 #682072 #942DA2 #B942CA

Accessibility & contrast

On white

10.30
#682072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#682072 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682072
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682072#FFFFFF#000000##FFFFFF
##6820721.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063B74
Deuteranopia (green-blind)
#2C4370
Tritanopia (blue-blind)
#692E46
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #682072;
/* rgb */ color: rgb(104, 32, 114);
/* oklch */ color: oklch(39.2% 0.146 322.6);
Tailwind
colors: {
  custom: {
    50: '#96629b',
    500: '#682072',
    950: '#000000',
  },
}
SCSS
$custom: #682072;
$custom-light: #96629b;
$custom-dark: #000000;
JSON
{
  "hex": "#682072",
  "rgb": {
    "r": 104,
    "g": 32,
    "b": 114
  },
  "hsl": {
    "h": 292.683,
    "s": 56.164,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39197,
    "c": 0.14627,
    "h": 322.6
  },
  "luminance": 0.05191
}

Semantic roles & 50–950 ramp

primary
#682072
secondary
#54A648
accent
#DF485B
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #682072

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

Preview Lab → · Contrast checker → · Palette generator →

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