#682189#682189

#682189 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.9% C 0.167 H 312.5°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#682189
RGBrgb(104, 33, 137)
HSLhsl(281, 61%, 33%)
HSVhsv(281, 76%, 54%)
CMYKcmyk(24.1%, 75.9%, 0%, 46.3%)
CIE-LABlab(29.00, 47.98, -43.60)
CIE-LCHlch(29.00, 64.83, 317.73°)
OKLaboklab(40.93% 0.1129 -0.1233)
OKLCHoklch(40.93% 0.167 312.5)
XYZxyz(10.7673, 5.8372, 24.2216)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682189 #428921
analogous
#342189 #682189 #892176
triadic
#682189 #896821 #218968
tetradic
#682189 #893421 #428921 #217689
square
#682189 #893421 #428921 #217689
split-complementary
#682189 #768921 #218934
monochromatic
#1D0926 #431558 #682189 #8D2DBA #AB50D5

Accessibility & contrast

On white

9.69
#682189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#682189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682189
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682189#FFFFFF#000000##FFFFFF
##6821891.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #682189;
/* rgb */ color: rgb(104, 33, 137);
/* oklch */ color: oklch(40.9% 0.167 312.5);
Tailwind
colors: {
  custom: {
    50: '#9764ac',
    500: '#682189',
    950: '#000000',
  },
}
SCSS
$custom: #682189;
$custom-light: #9764ac;
$custom-dark: #000000;
JSON
{
  "hex": "#682189",
  "rgb": {
    "r": 104,
    "g": 33,
    "b": 137
  },
  "hsl": {
    "h": 280.962,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.40929,
    "c": 0.16714,
    "h": 312.5
  },
  "luminance": 0.05837
}

Semantic roles & 50–950 ramp

primary
#682189
secondary
#6FB84E
accent
#E44477
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #682189

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

Preview Lab → · Contrast checker → · Palette generator →

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