#682279#682279

#682279 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 39.9% C 0.150 H 319.1°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#682279
RGBrgb(104, 34, 121)
HSLhsl(288, 56%, 30%)
HSVhsv(288, 72%, 47%)
CMYKcmyk(14%, 71.9%, 0%, 52.5%)
CIE-LABlab(28.03, 44.13, -35.12)
CIE-LCHlch(28.03, 56.40, 321.49°)
OKLaboklab(39.88% 0.1136 -0.0984)
OKLCHoklch(39.88% 0.15 319.1)
XYZxyz(9.7317, 5.4680, 18.6283)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682279 #337922
analogous
#3C2279 #682279 #79225E
triadic
#682279 #796822 #227968
tetradic
#682279 #793C22 #337922 #225E79
square
#682279 #793C22 #337922 #225E79
split-complementary
#682279 #5E7922 #22793C
monochromatic
#160719 #3F1549 #682279 #912FA9 #B249CC

Accessibility & contrast

On white

10.03
#682279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#682279 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682279
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682279#FFFFFF#000000##FFFFFF
##6822791.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7C
Deuteranopia (green-blind)
#284477
Tritanopia (blue-blind)
#68324B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #682279;
/* rgb */ color: rgb(104, 34, 121);
/* oklch */ color: oklch(39.9% 0.150 319.1);
Tailwind
colors: {
  custom: {
    50: '#9664a0',
    500: '#682279',
    950: '#000000',
  },
}
SCSS
$custom: #682279;
$custom-light: #9664a0;
$custom-dark: #000000;
JSON
{
  "hex": "#682279",
  "rgb": {
    "r": 104,
    "g": 34,
    "b": 121
  },
  "hsl": {
    "h": 288.276,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39883,
    "c": 0.15027,
    "h": 319.1
  },
  "luminance": 0.05468
}

Semantic roles & 50–950 ramp

primary
#682279
secondary
#5EAC4B
accent
#DF4866
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060F
muted
#7E7A7E

Preview Lab

Preview with #682279

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

Preview Lab → · Contrast checker → · Palette generator →

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