#682096#682096

#682096 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.8% C 0.181 H 307.9°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#682096
RGBrgb(104, 32, 150)
HSLhsl(277, 65%, 36%)
HSVhsv(277, 79%, 59%)
CMYKcmyk(30.7%, 78.7%, 0%, 41.2%)
CIE-LABlab(29.86, 51.27, -50.24)
CIE-LCHlch(29.86, 71.78, 315.58°)
OKLaboklab(41.85% 0.1113 -0.1428)
OKLCHoklch(41.85% 0.181 307.9)
XYZxyz(11.7293, 6.1783, 29.4229)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682096 #4E9620
analogous
#2D2096 #682096 #962089
triadic
#682096 #966820 #209668
tetradic
#682096 #962D20 #4E9620 #208996
square
#682096 #962D20 #4E9620 #208996
split-complementary
#682096 #899620 #20962D
monochromatic
#220A31 #451564 #682096 #8B2BC8 #A756DB

Accessibility & contrast

On white

9.39
#682096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#682096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682096
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682096#FFFFFF#000000##FFFFFF
##6820961.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004499
Deuteranopia (green-blind)
#004794
Tritanopia (blue-blind)
#603E5A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #682096;
/* rgb */ color: rgb(104, 32, 150);
/* oklch */ color: oklch(41.8% 0.181 307.9);
Tailwind
colors: {
  custom: {
    50: '#9864b6',
    500: '#682096',
    950: '#000000',
  },
}
SCSS
$custom: #682096;
$custom-light: #9864b6;
$custom-dark: #000000;
JSON
{
  "hex": "#682096",
  "rgb": {
    "r": 104,
    "g": 32,
    "b": 150
  },
  "hsl": {
    "h": 276.61,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41849,
    "c": 0.181,
    "h": 307.9
  },
  "luminance": 0.06178
}

Semantic roles & 50–950 ramp

primary
#682096
secondary
#7DBE53
accent
#E84081
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #682096

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

Preview Lab → · Contrast checker → · Palette generator →

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