#682172#682172

#682172 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.3% C 0.145 H 322.5°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#682172
RGBrgb(104, 33, 114)
HSLhsl(293, 55%, 29%)
HSVhsv(293, 71%, 45%)
CMYKcmyk(8.8%, 71.1%, 0%, 55.3%)
CIE-LABlab(27.43, 43.14, -31.63)
CIE-LCHlch(27.43, 53.49, 323.75°)
OKLaboklab(39.31% 0.115 -0.0882)
OKLCHoklch(39.31% 0.145 322.5)
XYZxyz(9.2897, 5.2462, 16.4396)
Luminance0.0525 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682172 #2B7221
analogous
#402172 #682172 #722154
triadic
#682172 #726821 #217268
tetradic
#682172 #724021 #2B7221 #215472
square
#682172 #724021 #2B7221 #215472
split-complementary
#682172 #547221 #217240
monochromatic
#160718 #3D1343 #682172 #932FA1 #B944C9

Accessibility & contrast

On white

10.25
#682172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#682172 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682172
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682172#FFFFFF#000000##FFFFFF
##6821721.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093C74
Deuteranopia (green-blind)
#2C4470
Tritanopia (blue-blind)
#692F47
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #682172;
/* rgb */ color: rgb(104, 33, 114);
/* oklch */ color: oklch(39.3% 0.145 322.5);
Tailwind
colors: {
  custom: {
    50: '#96639b',
    500: '#682172',
    950: '#000000',
  },
}
SCSS
$custom: #682172;
$custom-light: #96639b;
$custom-dark: #000000;
JSON
{
  "hex": "#682172",
  "rgb": {
    "r": 104,
    "g": 33,
    "b": 114
  },
  "hsl": {
    "h": 292.593,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39306,
    "c": 0.14492,
    "h": 322.5
  },
  "luminance": 0.05246
}

Semantic roles & 50–950 ramp

primary
#682172
secondary
#55A549
accent
#DE495C
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #682172

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

Preview Lab → · Contrast checker → · Palette generator →

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