#682F7A#682F7A

#682F7A is a dark, vivid purple. Relative luminance 0.064; OKLCH L 41.6% C 0.132 H 317.3°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#682F7A
RGBrgb(104, 47, 122)
HSLhsl(286, 44%, 33%)
HSVhsv(286, 61%, 48%)
CMYKcmyk(14.8%, 61.5%, 0%, 52.2%)
CIE-LABlab(30.36, 38.09, -32.04)
CIE-LCHlch(30.36, 49.77, 319.93°)
OKLaboklab(41.59% 0.0971 -0.0895)
OKLCHoklch(41.59% 0.132 317.3)
XYZxyz(10.2378, 6.3816, 19.1011)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682F7A #417A2F
analogous
#422F7A #682F7A #7A2F66
triadic
#682F7A #7A682F #2F7A68
tetradic
#682F7A #7A422F #417A2F #2F667A
square
#682F7A #7A422F #417A2F #2F667A
split-complementary
#682F7A #667A2F #2F7A42
monochromatic
#1D0D22 #421E4E #682F7A #8E40A6 #AB61C2

Accessibility & contrast

On white

9.23
#682F7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#682F7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682F7A
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682F7A#FFFFFF#000000##FFFFFF
##682F7A1.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B447C
Deuteranopia (green-blind)
#314978
Tritanopia (blue-blind)
#673B50
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #682f7a;
/* rgb */ color: rgb(104, 47, 122);
/* oklch */ color: oklch(41.6% 0.132 317.3);
Tailwind
colors: {
  custom: {
    50: '#956ba1',
    500: '#682f7a',
    950: '#000000',
  },
}
SCSS
$custom: #682f7a;
$custom-light: #956ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#682f7a",
  "rgb": {
    "r": 104,
    "g": 47,
    "b": 122
  },
  "hsl": {
    "h": 285.6,
    "s": 44.379,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41585,
    "c": 0.13204,
    "h": 317.3
  },
  "luminance": 0.06381
}

Semantic roles & 50–950 ramp

primary
#682F7A
secondary
#6EA95C
accent
#D45473
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E070F
muted
#7E7A7E

Preview Lab

Preview with #682F7A

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

Preview Lab → · Contrast checker → · Palette generator →

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