#682F70#682F70

#682F70 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.0% C 0.121 H 322.6°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#682F70
RGBrgb(104, 47, 112)
HSLhsl(293, 41%, 31%)
HSVhsv(293, 58%, 44%)
CMYKcmyk(7.1%, 58%, 0%, 56.1%)
CIE-LABlab(29.78, 35.93, -26.62)
CIE-LCHlch(29.78, 44.72, 323.47°)
OKLaboklab(40.98% 0.0964 -0.0737)
OKLCHoklch(40.98% 0.121 322.6)
XYZxyz(9.6498, 6.1464, 16.0042)
Luminance0.0615 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682F70 #37702F
analogous
#472F70 #682F70 #702F57
triadic
#682F70 #70682F #2F7068
tetradic
#682F70 #70472F #37702F #2F5770
square
#682F70 #70472F #37702F #2F5770
split-complementary
#682F70 #57702F #2F7047
monochromatic
#180B1A #401D45 #682F70 #90419B #B05EBB

Accessibility & contrast

On white

9.42
#682F70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#682F70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682F70
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682F70#FFFFFF#000000##FFFFFF
##682F701.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244272
Deuteranopia (green-blind)
#37486E
Tritanopia (blue-blind)
#69384B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #682f70;
/* rgb */ color: rgb(104, 47, 112);
/* oklch */ color: oklch(41.0% 0.121 322.6);
Tailwind
colors: {
  custom: {
    50: '#956b99',
    500: '#682f70',
    950: '#000000',
  },
}
SCSS
$custom: #682f70;
$custom-light: #956b99;
$custom-dark: #000000;
JSON
{
  "hex": "#682f70",
  "rgb": {
    "r": 104,
    "g": 47,
    "b": 112
  },
  "hsl": {
    "h": 292.615,
    "s": 40.881,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40976,
    "c": 0.12135,
    "h": 322.6
  },
  "luminance": 0.06146
}

Semantic roles & 50–950 ramp

primary
#682F70
secondary
#62A15A
accent
#D15766
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D070E
muted
#7E7A7E

Preview Lab

Preview with #682F70

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

Preview Lab → · Contrast checker → · Palette generator →

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