#682196#682196

#682196 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.9% C 0.180 H 307.8°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#682196
RGBrgb(104, 33, 150)
HSLhsl(276, 64%, 36%)
HSVhsv(276, 78%, 59%)
CMYKcmyk(30.7%, 78%, 0%, 41.2%)
CIE-LABlab(29.99, 50.88, -50.02)
CIE-LCHlch(29.99, 71.35, 315.49°)
OKLaboklab(41.94% 0.1104 -0.1421)
OKLCHoklch(41.94% 0.18 307.8)
XYZxyz(11.7566, 6.2330, 29.4320)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682196 #4F9621
analogous
#2D2196 #682196 #962189
triadic
#682196 #966821 #219668
tetradic
#682196 #962D21 #4F9621 #218996
square
#682196 #962D21 #4F9621 #218996
split-complementary
#682196 #899621 #21962D
monochromatic
#220B32 #451664 #682196 #8B2CC8 #A757DA

Accessibility & contrast

On white

9.35
#682196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#682196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682196
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682196#FFFFFF#000000##FFFFFF
##6821961.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #682196;
/* rgb */ color: rgb(104, 33, 150);
/* oklch */ color: oklch(41.9% 0.180 307.8);
Tailwind
colors: {
  custom: {
    50: '#9865b6',
    500: '#682196',
    950: '#000000',
  },
}
SCSS
$custom: #682196;
$custom-light: #9865b6;
$custom-dark: #000000;
JSON
{
  "hex": "#682196",
  "rgb": {
    "r": 104,
    "g": 33,
    "b": 150
  },
  "hsl": {
    "h": 276.41,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41944,
    "c": 0.17995,
    "h": 307.8
  },
  "luminance": 0.06233
}

Semantic roles & 50–950 ramp

primary
#682196
secondary
#7EBE55
accent
#E74182
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #682196

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

Preview Lab → · Contrast checker → · Palette generator →

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