#682078#682078

#682078 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.6% C 0.152 H 319.7°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#682078
RGBrgb(104, 32, 120)
HSLhsl(289, 58%, 30%)
HSVhsv(289, 73%, 47%)
CMYKcmyk(13.3%, 73.3%, 0%, 52.9%)
CIE-LABlab(27.66, 44.78, -35.07)
CIE-LCHlch(27.66, 56.88, 321.93°)
OKLaboklab(39.6% 0.1159 -0.0982)
OKLCHoklch(39.6% 0.152 319.7)
XYZxyz(9.6152, 5.3326, 18.2885)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682078 #307820
analogous
#3C2078 #682078 #78205C
triadic
#682078 #786820 #207868
tetradic
#682078 #783C20 #307820 #205C78
square
#682078 #783C20 #307820 #205C78
split-complementary
#682078 #5C7820 #20783C
monochromatic
#150618 #3E1348 #682078 #922DA8 #B545CD

Accessibility & contrast

On white

10.16
#682078 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#682078 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682078
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682078#FFFFFF#000000##FFFFFF
##6820781.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7B
Deuteranopia (green-blind)
#274476
Tritanopia (blue-blind)
#68314A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #682078;
/* rgb */ color: rgb(104, 32, 120);
/* oklch */ color: oklch(39.6% 0.152 319.7);
Tailwind
colors: {
  custom: {
    50: '#96639f',
    500: '#682078',
    950: '#000000',
  },
}
SCSS
$custom: #682078;
$custom-light: #96639f;
$custom-dark: #000000;
JSON
{
  "hex": "#682078",
  "rgb": {
    "r": 104,
    "g": 32,
    "b": 120
  },
  "hsl": {
    "h": 289.091,
    "s": 57.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.396,
    "c": 0.15192,
    "h": 319.7
  },
  "luminance": 0.05332
}

Semantic roles & 50–950 ramp

primary
#682078
secondary
#5AAB48
accent
#E14763
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #682078

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

Preview Lab → · Contrast checker → · Palette generator →

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