#682696#682696

#682696 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.5% C 0.174 H 307.3°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#682696
RGBrgb(104, 38, 150)
HSLhsl(275, 60%, 37%)
HSVhsv(275, 75%, 59%)
CMYKcmyk(30.7%, 74.7%, 0%, 41.2%)
CIE-LABlab(30.72, 48.82, -48.84)
CIE-LCHlch(30.72, 69.06, 314.98°)
OKLaboklab(42.45% 0.1056 -0.1387)
OKLCHoklch(42.45% 0.174 307.3)
XYZxyz(11.9059, 6.5314, 29.4817)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682696 #549626
analogous
#302696 #682696 #96268C
triadic
#682696 #966826 #269668
tetradic
#682696 #963026 #549626 #268C96
square
#682696 #963026 #549626 #268C96
split-complementary
#682696 #8C9626 #269630
monochromatic
#240D34 #461A65 #682696 #8A32C7 #A660D7

Accessibility & contrast

On white

9.11
#682696 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#682696 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682696
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682696#FFFFFF#000000##FFFFFF
##6826961.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004699
Deuteranopia (green-blind)
#004994
Tritanopia (blue-blind)
#60415C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #682696;
/* rgb */ color: rgb(104, 38, 150);
/* oklch */ color: oklch(42.5% 0.174 307.3);
Tailwind
colors: {
  custom: {
    50: '#9867b6',
    500: '#682696',
    950: '#000000',
  },
}
SCSS
$custom: #682696;
$custom-light: #9867b6;
$custom-dark: #000000;
JSON
{
  "hex": "#682696",
  "rgb": {
    "r": 104,
    "g": 38,
    "b": 150
  },
  "hsl": {
    "h": 275.357,
    "s": 59.574,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42454,
    "c": 0.17435,
    "h": 307.3
  },
  "luminance": 0.06531
}

Semantic roles & 50–950 ramp

primary
#682696
secondary
#83BC5C
accent
#E34586
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #682696

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

Preview Lab → · Contrast checker → · Palette generator →

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