#682071#682071

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

Color values

HEX#682071
RGBrgb(104, 32, 113)
HSLhsl(293, 56%, 28%)
HSVhsv(293, 72%, 44%)
CMYKcmyk(8%, 71.7%, 0%, 55.7%)
CIE-LABlab(27.21, 43.37, -31.33)
CIE-LCHlch(27.21, 53.50, 324.16°)
OKLaboklab(39.13% 0.1162 -0.0873)
OKLCHoklch(39.13% 0.145 323.1)
XYZxyz(9.2058, 5.1689, 16.1324)
Luminance0.0517 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682071 #297120
analogous
#3F2071 #682071 #712051
triadic
#682071 #716820 #207168
tetradic
#682071 #713F20 #297120 #205171
square
#682071 #713F20 #297120 #205171
split-complementary
#682071 #517120 #20713F
monochromatic
#160718 #3C1241 #682071 #942EA1 #BA42C9

Accessibility & contrast

On white

10.33
#682071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#682071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682071
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682071#FFFFFF#000000##FFFFFF
##6820711.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083B73
Deuteranopia (green-blind)
#2C436F
Tritanopia (blue-blind)
#6A2E46
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #682071;
/* rgb */ color: rgb(104, 32, 113);
/* oklch */ color: oklch(39.1% 0.145 323.1);
Tailwind
colors: {
  custom: {
    50: '#96629a',
    500: '#682071',
    950: '#000000',
  },
}
SCSS
$custom: #682071;
$custom-light: #96629a;
$custom-dark: #000000;
JSON
{
  "hex": "#682071",
  "rgb": {
    "r": 104,
    "g": 32,
    "b": 113
  },
  "hsl": {
    "h": 293.333,
    "s": 55.862,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39132,
    "c": 0.14533,
    "h": 323.1
  },
  "luminance": 0.05168
}

Semantic roles & 50–950 ramp

primary
#682071
secondary
#52A548
accent
#DF4959
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #682071

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

Preview Lab → · Contrast checker → · Palette generator →

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