#682A7E#682A7E

#682A7E is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.2% C 0.144 H 316.1°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#682A7E
RGBrgb(104, 42, 126)
HSLhsl(284, 50%, 33%)
HSVhsv(284, 67%, 49%)
CMYKcmyk(17.5%, 66.7%, 0%, 50.6%)
CIE-LABlab(29.68, 41.51, -35.63)
CIE-LCHlch(29.68, 54.71, 319.36°)
OKLaboklab(41.17% 0.1037 -0.1)
OKLCHoklch(41.17% 0.144 316.1)
XYZxyz(10.3022, 6.1057, 20.3705)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682A7E #407E2A
analogous
#3E2A7E #682A7E #7E2A6A
triadic
#682A7E #7E682A #2A7E68
tetradic
#682A7E #7E3E2A #407E2A #2A6A7E
square
#682A7E #7E3E2A #407E2A #2A6A7E
split-complementary
#682A7E #6A7E2A #2A7E3E
monochromatic
#1C0B22 #421B50 #682A7E #8E39AC #AB5AC8

Accessibility & contrast

On white

9.46
#682A7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#682A7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682A7E
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682A7E#FFFFFF#000000##FFFFFF
##682A7E1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094281
Deuteranopia (green-blind)
#2A487C
Tritanopia (blue-blind)
#673950
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #682a7e;
/* rgb */ color: rgb(104, 42, 126);
/* oklch */ color: oklch(41.2% 0.144 316.1);
Tailwind
colors: {
  custom: {
    50: '#9668a4',
    500: '#682a7e',
    950: '#000000',
  },
}
SCSS
$custom: #682a7e;
$custom-light: #9668a4;
$custom-dark: #000000;
JSON
{
  "hex": "#682a7e",
  "rgb": {
    "r": 104,
    "g": 42,
    "b": 126
  },
  "hsl": {
    "h": 284.286,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41173,
    "c": 0.14406,
    "h": 316.1
  },
  "luminance": 0.06105
}

Semantic roles & 50–950 ramp

primary
#682A7E
secondary
#6DAE56
accent
#DA4E73
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #682A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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