#682779#682779

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

Color values

HEX#682779
RGBrgb(104, 39, 121)
HSLhsl(288, 51%, 31%)
HSVhsv(288, 68%, 47%)
CMYKcmyk(14%, 67.8%, 0%, 52.5%)
CIE-LABlab(28.84, 41.87, -33.82)
CIE-LCHlch(28.84, 53.83, 321.07°)
OKLaboklab(40.47% 0.1076 -0.0946)
OKLCHoklch(40.47% 0.143 318.7)
XYZxyz(9.8852, 5.7750, 18.6794)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682779 #387927
analogous
#3F2779 #682779 #792761
triadic
#682779 #796827 #277968
tetradic
#682779 #793F27 #387927 #276179
square
#682779 #793F27 #387927 #276179
split-complementary
#682779 #617927 #27793F
monochromatic
#18091C #40184B #682779 #9036A7 #AF53C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##682779#FFFFFF#000000##FFFFFF
##6827791.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)
#0B407B
Deuteranopia (green-blind)
#2C4677
Tritanopia (blue-blind)
#68364C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #682779;
/* rgb */ color: rgb(104, 39, 121);
/* oklch */ color: oklch(40.5% 0.143 318.7);
Tailwind
colors: {
  custom: {
    50: '#9666a0',
    500: '#682779',
    950: '#000000',
  },
}
SCSS
$custom: #682779;
$custom-light: #9666a0;
$custom-dark: #000000;
JSON
{
  "hex": "#682779",
  "rgb": {
    "r": 104,
    "g": 39,
    "b": 121
  },
  "hsl": {
    "h": 287.561,
    "s": 51.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40465,
    "c": 0.14331,
    "h": 318.7
  },
  "luminance": 0.05775
}

Semantic roles & 50–950 ramp

primary
#682779
secondary
#63AB51
accent
#DB4D6A
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060F
muted
#7E7A7E

Preview Lab

Preview with #682779

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

Preview Lab → · Contrast checker → · Palette generator →

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