#682A86#682A86

#682A86 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.7% C 0.152 H 312.7°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#682A86
RGBrgb(104, 42, 134)
HSLhsl(280, 52%, 35%)
HSVhsv(280, 69%, 53%)
CMYKcmyk(22.4%, 68.7%, 0%, 47.5%)
CIE-LABlab(30.21, 43.30, -39.79)
CIE-LCHlch(30.21, 58.80, 317.42°)
OKLaboklab(41.72% 0.1033 -0.1121)
OKLCHoklch(41.72% 0.152 312.7)
XYZxyz(10.8392, 6.3205, 23.1986)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682A86 #48862A
analogous
#3A2A86 #682A86 #862A76
triadic
#682A86 #86682A #2A8668
tetradic
#682A86 #863A2A #48862A #2A7686
square
#682A86 #863A2A #48862A #2A7686
split-complementary
#682A86 #76862A #2A863A
monochromatic
#200D29 #441B57 #682A86 #8C39B5 #A85ECD

Accessibility & contrast

On white

9.28
#682A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#682A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682A86
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682A86#FFFFFF#000000##FFFFFF
##682A861.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004489
Deuteranopia (green-blind)
#234884
Tritanopia (blue-blind)
#653C54
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #682a86;
/* rgb */ color: rgb(104, 42, 134);
/* oklch */ color: oklch(41.7% 0.152 312.7);
Tailwind
colors: {
  custom: {
    50: '#9668aa',
    500: '#682a86',
    950: '#000000',
  },
}
SCSS
$custom: #682a86;
$custom-light: #9668aa;
$custom-dark: #000000;
JSON
{
  "hex": "#682a86",
  "rgb": {
    "r": 104,
    "g": 42,
    "b": 134
  },
  "hsl": {
    "h": 280.435,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41724,
    "c": 0.15249,
    "h": 312.7
  },
  "luminance": 0.0632
}

Semantic roles & 50–950 ramp

primary
#682A86
secondary
#76B25A
accent
#DC4C7B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #682A86

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

Preview Lab → · Contrast checker → · Palette generator →

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