#682E7F#682E7F

#682E7F is a dark, vivid purple. Relative luminance 0.064; OKLCH L 41.8% C 0.139 H 315.1°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#682E7F
RGBrgb(104, 46, 127)
HSLhsl(283, 47%, 34%)
HSVhsv(283, 64%, 50%)
CMYKcmyk(18.1%, 63.8%, 0%, 50.2%)
CIE-LABlab(30.47, 39.73, -34.99)
CIE-LCHlch(30.47, 52.94, 318.63°)
OKLaboklab(41.77% 0.0986 -0.0981)
OKLCHoklch(41.77% 0.139 315.1)
XYZxyz(10.5161, 6.4297, 20.7617)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682E7F #457F2E
analogous
#402E7F #682E7F #7F2E6E
triadic
#682E7F #7F682E #2E7F68
tetradic
#682E7F #7F402E #457F2E #2E6E7F
square
#682E7F #7F402E #457F2E #2E6E7F
split-complementary
#682E7F #6E7F2E #2E7F40
monochromatic
#1E0D25 #431E52 #682E7F #8D3EAC #A961C6

Accessibility & contrast

On white

9.19
#682E7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#682E7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682E7F
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682E7F#FFFFFF#000000##FFFFFF
##682E7F1.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134482
Deuteranopia (green-blind)
#2D497D
Tritanopia (blue-blind)
#663C52
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #682e7f;
/* rgb */ color: rgb(104, 46, 127);
/* oklch */ color: oklch(41.8% 0.139 315.1);
Tailwind
colors: {
  custom: {
    50: '#966aa4',
    500: '#682e7f',
    950: '#000000',
  },
}
SCSS
$custom: #682e7f;
$custom-light: #966aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#682e7f",
  "rgb": {
    "r": 104,
    "g": 46,
    "b": 127
  },
  "hsl": {
    "h": 282.963,
    "s": 46.821,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41768,
    "c": 0.13906,
    "h": 315.1
  },
  "luminance": 0.06429
}

Semantic roles & 50–950 ramp

primary
#682E7F
secondary
#73AD5C
accent
#D65177
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #682E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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