#682C72#682C72

#682C72 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 40.7% C 0.128 H 321.7°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#682C72
RGBrgb(104, 44, 114)
HSLhsl(291, 44%, 31%)
HSVhsv(291, 61%, 45%)
CMYKcmyk(8.8%, 61.4%, 0%, 55.3%)
CIE-LABlab(29.31, 37.92, -28.63)
CIE-LCHlch(29.31, 47.52, 322.95°)
OKLaboklab(40.67% 0.1008 -0.0796)
OKLCHoklch(40.67% 0.128 321.7)
XYZxyz(9.6465, 5.9598, 16.5586)
Luminance0.0596 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682C72 #36722C
analogous
#452C72 #682C72 #722C59
triadic
#682C72 #72682C #2C7268
tetradic
#682C72 #72452C #36722C #2C5972
square
#682C72 #72452C #36722C #2C5972
split-complementary
#682C72 #59722C #2C7245
monochromatic
#170A1A #401B46 #682C72 #903D9E #B159BF

Accessibility & contrast

On white

9.58
#682C72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#682C72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682C72
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682C72#FFFFFF#000000##FFFFFF
##682C721.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4174
Deuteranopia (green-blind)
#344770
Tritanopia (blue-blind)
#69364A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #682c72;
/* rgb */ color: rgb(104, 44, 114);
/* oklch */ color: oklch(40.7% 0.128 321.7);
Tailwind
colors: {
  custom: {
    50: '#95699b',
    500: '#682c72',
    950: '#000000',
  },
}
SCSS
$custom: #682c72;
$custom-light: #95699b;
$custom-dark: #000000;
JSON
{
  "hex": "#682c72",
  "rgb": {
    "r": 104,
    "g": 44,
    "b": 114
  },
  "hsl": {
    "h": 291.429,
    "s": 44.304,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40671,
    "c": 0.12844,
    "h": 321.7
  },
  "luminance": 0.05959
}

Semantic roles & 50–950 ramp

primary
#682C72
secondary
#61A456
accent
#D45466
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D060E
muted
#7E7A7E

Preview Lab

Preview with #682C72

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

Preview Lab → · Contrast checker → · Palette generator →

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