#682E7C#682E7C

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

Color values

HEX#682E7C
RGBrgb(104, 46, 124)
HSLhsl(285, 46%, 33%)
HSVhsv(285, 63%, 49%)
CMYKcmyk(16.1%, 62.9%, 0%, 51.4%)
CIE-LABlab(30.29, 39.05, -33.41)
CIE-LCHlch(30.29, 51.39, 319.46°)
OKLaboklab(41.57% 0.0985 -0.0935)
OKLCHoklch(41.57% 0.136 316.5)
XYZxyz(10.3235, 6.3527, 19.7473)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682E7C #427C2E
analogous
#412E7C #682E7C #7C2E69
triadic
#682E7C #7C682E #2E7C68
tetradic
#682E7C #7C412E #427C2E #2E697C
square
#682E7C #7C412E #427C2E #2E697C
split-complementary
#682E7C #697C2E #2E7C41
monochromatic
#1D0D23 #431D4F #682E7C #8D3FA9 #AB60C4

Accessibility & contrast

On white

9.25
#682E7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#682E7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682E7C
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682E7C#FFFFFF#000000##FFFFFF
##682E7C1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17447E
Deuteranopia (green-blind)
#2F497A
Tritanopia (blue-blind)
#673B50
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #682e7c;
/* rgb */ color: rgb(104, 46, 124);
/* oklch */ color: oklch(41.6% 0.136 316.5);
Tailwind
colors: {
  custom: {
    50: '#966aa2',
    500: '#682e7c',
    950: '#000000',
  },
}
SCSS
$custom: #682e7c;
$custom-light: #966aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#682e7c",
  "rgb": {
    "r": 104,
    "g": 46,
    "b": 124
  },
  "hsl": {
    "h": 284.615,
    "s": 45.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.41573,
    "c": 0.13581,
    "h": 316.5
  },
  "luminance": 0.06352
}

Semantic roles & 50–950 ramp

primary
#682E7C
secondary
#6FAB5B
accent
#D65274
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #682E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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