#682170#682170

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

Color values

HEX#682170
RGBrgb(104, 33, 112)
HSLhsl(294, 54%, 28%)
HSVhsv(294, 71%, 44%)
CMYKcmyk(7.1%, 70.5%, 0%, 56.1%)
CIE-LABlab(27.30, 42.74, -30.55)
CIE-LCHlch(27.30, 52.53, 324.45°)
OKLaboklab(39.18% 0.115 -0.085)
OKLCHoklch(39.18% 0.143 323.5)
XYZxyz(9.1771, 5.2012, 15.8466)
Luminance0.0520 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682170 #297021
analogous
#402170 #682170 #702150
triadic
#682170 #706821 #217068
tetradic
#682170 #704021 #297021 #215070
square
#682170 #704021 #297021 #215070
split-complementary
#682170 #507021 #217040
monochromatic
#160718 #3C1341 #682170 #942F9F #BA44C8

Accessibility & contrast

On white

10.29
#682170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #682170
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682170#FFFFFF#000000##FFFFFF
##6821701.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3B72
Deuteranopia (green-blind)
#2E436E
Tritanopia (blue-blind)
#6A2E46
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #682170;
/* rgb */ color: rgb(104, 33, 112);
/* oklch */ color: oklch(39.2% 0.143 323.5);
Tailwind
colors: {
  custom: {
    50: '#966399',
    500: '#682170',
    950: '#000000',
  },
}
SCSS
$custom: #682170;
$custom-light: #966399;
$custom-dark: #000000;
JSON
{
  "hex": "#682170",
  "rgb": {
    "r": 104,
    "g": 33,
    "b": 112
  },
  "hsl": {
    "h": 293.924,
    "s": 54.483,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39176,
    "c": 0.14304,
    "h": 323.5
  },
  "luminance": 0.05201
}

Semantic roles & 50–950 ramp

primary
#682170
secondary
#52A449
accent
#DE4A59
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #682170

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

Preview Lab → · Contrast checker → · Palette generator →

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