#682F83#682F83

#682F83 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.2% C 0.142 H 313.2°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#682F83
RGBrgb(104, 47, 131)
HSLhsl(281, 47%, 35%)
HSVhsv(281, 64%, 51%)
CMYKcmyk(20.6%, 64.1%, 0%, 48.6%)
CIE-LABlab(30.91, 40.12, -36.78)
CIE-LCHlch(30.91, 54.43, 317.49°)
OKLaboklab(42.17% 0.0972 -0.1034)
OKLCHoklch(42.17% 0.142 313.2)
XYZxyz(10.8215, 6.6151, 22.1751)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682F83 #4A832F
analogous
#3E2F83 #682F83 #832F74
triadic
#682F83 #83682F #2F8368
tetradic
#682F83 #833E2F #4A832F #2F7483
square
#682F83 #833E2F #4A832F #2F7483
split-complementary
#682F83 #74832F #2F833E
monochromatic
#200F29 #441F56 #682F83 #8C3FB0 #A865C8

Accessibility & contrast

On white

9.04
#682F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#682F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682F83
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682F83#FFFFFF#000000##FFFFFF
##682F831.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4686
Deuteranopia (green-blind)
#2A4A81
Tritanopia (blue-blind)
#653F54
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #682f83;
/* rgb */ color: rgb(104, 47, 131);
/* oklch */ color: oklch(42.2% 0.142 313.2);
Tailwind
colors: {
  custom: {
    50: '#966ba7',
    500: '#682f83',
    950: '#000000',
  },
}
SCSS
$custom: #682f83;
$custom-light: #966ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#682f83",
  "rgb": {
    "r": 104,
    "g": 47,
    "b": 131
  },
  "hsl": {
    "h": 280.714,
    "s": 47.191,
    "l": 34.902
  },
  "oklch": {
    "l": 0.42171,
    "c": 0.14189,
    "h": 313.2
  },
  "luminance": 0.06615
}

Semantic roles & 50–950 ramp

primary
#682F83
secondary
#79AF5F
accent
#D7517C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #682F83

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

Preview Lab → · Contrast checker → · Palette generator →

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