#682C71#682C71

#682C71 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 40.6% C 0.127 H 322.3°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#682C71
RGBrgb(104, 44, 113)
HSLhsl(292, 44%, 31%)
HSVhsv(292, 61%, 44%)
CMYKcmyk(8%, 61.1%, 0%, 55.7%)
CIE-LABlab(29.25, 37.71, -28.09)
CIE-LCHlch(29.25, 47.02, 323.32°)
OKLaboklab(40.61% 0.1008 -0.078)
OKLCHoklch(40.61% 0.127 322.3)
XYZxyz(9.5899, 5.9372, 16.2604)
Luminance0.0594 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682C71 #35712C
analogous
#452C71 #682C71 #712C57
triadic
#682C71 #71682C #2C7168
tetradic
#682C71 #71452C #35712C #2C5771
square
#682C71 #71452C #35712C #2C5771
split-complementary
#682C71 #57712C #2C7145
monochromatic
#170A19 #3F1B45 #682C71 #913D9D #B159BE

Accessibility & contrast

On white

9.60
#682C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #682C71
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682C71#FFFFFF#000000##FFFFFF
##682C711.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4073
Deuteranopia (green-blind)
#34476F
Tritanopia (blue-blind)
#69364A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #682c71;
/* rgb */ color: rgb(104, 44, 113);
/* oklch */ color: oklch(40.6% 0.127 322.3);
Tailwind
colors: {
  custom: {
    50: '#95699a',
    500: '#682c71',
    950: '#000000',
  },
}
SCSS
$custom: #682c71;
$custom-light: #95699a;
$custom-dark: #000000;
JSON
{
  "hex": "#682c71",
  "rgb": {
    "r": 104,
    "g": 44,
    "b": 113
  },
  "hsl": {
    "h": 292.174,
    "s": 43.949,
    "l": 30.784
  },
  "oklch": {
    "l": 0.4061,
    "c": 0.12741,
    "h": 322.3
  },
  "luminance": 0.05937
}

Semantic roles & 50–950 ramp

primary
#682C71
secondary
#60A356
accent
#D45465
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D060E
muted
#7E7A7E

Preview Lab

Preview with #682C71

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

Preview Lab → · Contrast checker → · Palette generator →

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