#682089#682089

#682089 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.8% C 0.168 H 312.6°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#682089
RGBrgb(104, 32, 137)
HSLhsl(281, 62%, 33%)
HSVhsv(281, 77%, 54%)
CMYKcmyk(24.1%, 76.6%, 0%, 46.3%)
CIE-LABlab(28.86, 48.38, -43.83)
CIE-LCHlch(28.86, 65.28, 317.82°)
OKLaboklab(40.83% 0.1139 -0.1239)
OKLCHoklch(40.83% 0.168 312.6)
XYZxyz(10.7400, 5.7825, 24.2124)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682089 #418920
analogous
#332089 #682089 #892075
triadic
#682089 #896820 #208968
tetradic
#682089 #893320 #418920 #207589
square
#682089 #893320 #418920 #207589
split-complementary
#682089 #758920 #208933
monochromatic
#1D0926 #421457 #682089 #8E2CBB #AB4ED6

Accessibility & contrast

On white

9.74
#682089 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#682089 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682089
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682089#FFFFFF#000000##FFFFFF
##6820891.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408C
Deuteranopia (green-blind)
#124587
Tritanopia (blue-blind)
#643853
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #682089;
/* rgb */ color: rgb(104, 32, 137);
/* oklch */ color: oklch(40.8% 0.168 312.6);
Tailwind
colors: {
  custom: {
    50: '#9764ac',
    500: '#682089',
    950: '#000000',
  },
}
SCSS
$custom: #682089;
$custom-light: #9764ac;
$custom-dark: #000000;
JSON
{
  "hex": "#682089",
  "rgb": {
    "r": 104,
    "g": 32,
    "b": 137
  },
  "hsl": {
    "h": 281.143,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.4083,
    "c": 0.1683,
    "h": 312.6
  },
  "luminance": 0.05782
}

Semantic roles & 50–950 ramp

primary
#682089
secondary
#6EB94C
accent
#E54376
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #682089

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

Preview Lab → · Contrast checker → · Palette generator →

#682089 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva