#682A6F#682A6F

#682A6F is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.2% C 0.129 H 323.5°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#682A6F
RGBrgb(104, 42, 111)
HSLhsl(294, 45%, 30%)
HSVhsv(294, 62%, 44%)
CMYKcmyk(6.3%, 62.2%, 0%, 56.5%)
CIE-LABlab(28.77, 38.32, -27.58)
CIE-LCHlch(28.77, 47.21, 324.25°)
OKLaboklab(40.22% 0.1034 -0.0765)
OKLCHoklch(40.22% 0.129 323.5)
XYZxyz(9.4059, 5.7472, 15.6497)
Luminance0.0575 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682A6F #316F2A
analogous
#452A6F #682A6F #6F2A54
triadic
#682A6F #6F682A #2A6F68
tetradic
#682A6F #6F452A #316F2A #2A546F
square
#682A6F #6F452A #316F2A #2A546F
split-complementary
#682A6F #546F2A #2A6F45
monochromatic
#150816 #3E1943 #682A6F #923B9B #B455BF

Accessibility & contrast

On white

9.77
#682A6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#682A6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682A6F
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682A6F#FFFFFF#000000##FFFFFF
##682A6F1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3F71
Deuteranopia (green-blind)
#34466D
Tritanopia (blue-blind)
#6A3448
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #682a6f;
/* rgb */ color: rgb(104, 42, 111);
/* oklch */ color: oklch(40.2% 0.129 323.5);
Tailwind
colors: {
  custom: {
    50: '#956898',
    500: '#682a6f',
    950: '#000000',
  },
}
SCSS
$custom: #682a6f;
$custom-light: #956898;
$custom-dark: #000000;
JSON
{
  "hex": "#682a6f",
  "rgb": {
    "r": 104,
    "g": 42,
    "b": 111
  },
  "hsl": {
    "h": 293.913,
    "s": 45.098,
    "l": 30
  },
  "oklch": {
    "l": 0.40217,
    "c": 0.12862,
    "h": 323.5
  },
  "luminance": 0.05747
}

Semantic roles & 50–950 ramp

primary
#682A6F
secondary
#5CA154
accent
#D55360
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D060E
muted
#7E7A7E

Preview Lab

Preview with #682A6F

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

Preview Lab → · Contrast checker → · Palette generator →

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