#682289#682289

#682289 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.0% C 0.166 H 312.4°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#682289
RGBrgb(104, 34, 137)
HSLhsl(281, 60%, 34%)
HSVhsv(281, 75%, 54%)
CMYKcmyk(24.1%, 75.2%, 0%, 46.3%)
CIE-LABlab(29.14, 47.56, -43.37)
CIE-LCHlch(29.14, 64.37, 317.64°)
OKLaboklab(41.03% 0.1119 -0.1226)
OKLCHoklch(41.03% 0.166 312.4)
XYZxyz(10.7955, 5.8936, 24.2309)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682289 #438922
analogous
#342289 #682289 #892276
triadic
#682289 #896822 #228968
tetradic
#682289 #893422 #438922 #227689
square
#682289 #893422 #438922 #227689
split-complementary
#682289 #768922 #228934
monochromatic
#1E0A27 #431658 #682289 #8D2EBA #AA51D4

Accessibility & contrast

On white

9.64
#682289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#682289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682289
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682289#FFFFFF#000000##FFFFFF
##6822891.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418C
Deuteranopia (green-blind)
#154687
Tritanopia (blue-blind)
#643954
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #682289;
/* rgb */ color: rgb(104, 34, 137);
/* oklch */ color: oklch(41.0% 0.166 312.4);
Tailwind
colors: {
  custom: {
    50: '#9764ac',
    500: '#682289',
    950: '#000000',
  },
}
SCSS
$custom: #682289;
$custom-light: #9764ac;
$custom-dark: #000000;
JSON
{
  "hex": "#682289",
  "rgb": {
    "r": 104,
    "g": 34,
    "b": 137
  },
  "hsl": {
    "h": 280.777,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41032,
    "c": 0.16596,
    "h": 312.4
  },
  "luminance": 0.05893
}

Semantic roles & 50–950 ramp

primary
#682289
secondary
#71B84F
accent
#E34477
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #682289

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

Preview Lab → · Contrast checker → · Palette generator →

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