#682774#682774

#682774 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.1% C 0.138 H 321.1°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#682774
RGBrgb(104, 39, 116)
HSLhsl(291, 50%, 30%)
HSVhsv(291, 66%, 45%)
CMYKcmyk(10.3%, 66.4%, 0%, 54.5%)
CIE-LABlab(28.53, 40.82, -31.15)
CIE-LCHlch(28.53, 51.35, 322.65°)
OKLaboklab(40.14% 0.1076 -0.0868)
OKLCHoklch(40.14% 0.138 321.1)
XYZxyz(9.5865, 5.6555, 17.1063)
Luminance0.0566 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682774 #337427
analogous
#412774 #682774 #742759
triadic
#682774 #746827 #277468
tetradic
#682774 #744127 #337427 #275974
square
#682774 #744127 #337427 #275974
split-complementary
#682774 #597427 #277441
monochromatic
#160818 #3F1846 #682774 #9136A2 #B251C4

Accessibility & contrast

On white

9.85
#682774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#682774 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682774
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682774#FFFFFF#000000##FFFFFF
##6827741.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133F76
Deuteranopia (green-blind)
#2F4672
Tritanopia (blue-blind)
#69344A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #682774;
/* rgb */ color: rgb(104, 39, 116);
/* oklch */ color: oklch(40.1% 0.138 321.1);
Tailwind
colors: {
  custom: {
    50: '#96669c',
    500: '#682774',
    950: '#000000',
  },
}
SCSS
$custom: #682774;
$custom-light: #96669c;
$custom-dark: #000000;
JSON
{
  "hex": "#682774",
  "rgb": {
    "r": 104,
    "g": 39,
    "b": 116
  },
  "hsl": {
    "h": 290.649,
    "s": 49.677,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40139,
    "c": 0.13829,
    "h": 321.1
  },
  "luminance": 0.05655
}

Semantic roles & 50–950 ramp

primary
#682774
secondary
#5EA650
accent
#D94F64
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #682774

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

Preview Lab → · Contrast checker → · Palette generator →

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